*, *::after, *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ph-dark-primary: #1a1a2e;
    --ph-dark-secondary: #16213e;
    --ph-accent-blue: #0f3460;
    --ph-accent-purple: #533483;
    --ph-accent-pink: #e94560;
    --ph-text-light: #ffffff;
    --ph-text-gray: #b8b8b8;
    --ph-border-radius: 12px;
    --ph-transition: all 0.4s ease;
    --ph-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Fira Sans', sans-serif;
    background: linear-gradient(135deg, var(--ph-dark-primary) 0%, var(--ph-dark-secondary) 100%);
    color: var(--ph-text-light);
    line-height: 1.6;
    min-width: 285px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Prata', serif;
    font-weight: normal;
}

a {
    color: var(--ph-text-light);
    text-decoration: none;
    transition: var(--ph-transition);
}

img {
    max-width: 100%;
    height: auto;
}

.ph_header__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ph-accent-blue);
    position: relative;
    z-index: 1000;
}

.ph_header__navigation-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ph_header__nav-icon {
    font-size: 1.2rem;
    color: var(--ph-accent-pink);
}

.ph_header__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--ph-border-radius);
    transition: var(--ph-transition);
}

.ph_header__link:hover {
    background: rgba(233, 69, 96, 0.1);
    transform: translateY(-2px);
}

.ph_header__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ph_header__logo-link {
    display: block;
}

.ph_header__logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: var(--ph-transition);
}

.ph_header__logo:hover {
    transform: rotate(10deg) scale(1.05);
}

.ph_header__title {
    font-family: 'Prata', serif;
    font-size: 1.5rem;
    color: var(--ph-text-light);
}

.ph_header__disclaimer-desktop {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 400px;
    font-size: 0.8rem;
    color: var(--ph-text-gray);
}

.ph_header__warning-icon {
    font-size: 1rem;
    color: var(--ph-accent-pink);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.ph_header__navigation-mobile {
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ph-dark-primary);
    padding: 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--ph-accent-blue);
    z-index: 1001;
}

.ph_header__link-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    color: var(--ph-text-light);
    transition: var(--ph-transition);
    border-radius: var(--ph-border-radius);
}

.ph_header__link-mobile:hover {
    background: rgba(233, 69, 96, 0.1);
}

.ph_header__disclaimer-mobile {
    display: none;
    position: relative;
    flex-direction: column;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    background: var(--ph-dark-primary);
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--ph-accent-blue);
    z-index: 1001;
    color: var(--ph-text-gray);
    font-size: 0.8rem;
}

.ph_header__menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1002;
}

.ph_header__menu-bar {
    width: 25px;
    height: 3px;
    background: var(--ph-text-light);
    border-radius: 2px;
    transition: var(--ph-transition);
}

.ph_welcome__section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

.ph_welcome__content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.ph_welcome__main-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--ph-text-light) 0%, var(--ph-accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ph_title_glow 3s ease-in-out infinite alternate;
}

.ph_welcome__description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--ph-text-gray);
    min-height: 4rem;
}

.ph_welcome__legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(15, 52, 96, 0.3);
    padding: 1.5rem;
    border-radius: var(--ph-border-radius);
    border-left: 4px solid var(--ph-accent-pink);
}

.ph_welcome__legal-icon {
    font-size: 2rem;
    color: var(--ph-accent-pink);
}

.ph_welcome__animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(233, 69, 96, 0.1) 50%, transparent 70%);
    animation: ph_rain_effect 8s linear infinite;
    pointer-events: none;
}

.ph_platforms__section {
    padding: 5rem 2rem;
    background: var(--ph-dark-secondary);
}

.ph_platforms__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--ph-text-light);
}

.ph_platforms__container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ph_platforms__card {
    background: linear-gradient(135deg, var(--ph-dark-primary) 0%, var(--ph-accent-blue) 100%);
    padding: 2.5rem;
    border-radius: var(--ph-border-radius);
    border: 1px solid rgba(233, 69, 96, 0.3);
    transition: var(--ph-transition);
    position: relative;
    overflow: hidden;
}

.ph_platforms__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.1), transparent);
    transition: left 0.8s ease;
}

.ph_platforms__card:hover::before {
    left: 100%;
}

.ph_platforms__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--ph-shadow);
}

.ph_platforms__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ph_platforms__logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
}

.ph_platforms__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ph_platforms__star {
    color: #ffd700;
    font-size: 1.5rem;
}

.ph_platforms__name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--ph-text-light);
}

.ph_platforms__description {
    color: var(--ph-text-gray);
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.ph_platforms__payments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.ph_platforms__payment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ph_platforms__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ph-accent-pink);
    color: var(--ph-text-light);
    padding: 1rem 2rem;
    border-radius: var(--ph-border-radius);
    transition: var(--ph-transition);
    font-weight: 500;
}

.ph_platforms__link:hover {
    background: #d43a55;
    transform: translateX(5px);
}

.ph_criteria__section {
    padding: 5rem 2rem;
    background: var(--ph-dark-primary);
}

.ph_criteria__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--ph-text-light);
}

.ph_criteria__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.ph_criteria__item {
    flex: 1 1 300px;
    background: linear-gradient(135deg, var(--ph-dark-secondary) 0%, var(--ph-accent-purple) 100%);
    padding: 2.5rem;
    border-radius: var(--ph-border-radius);
    text-align: center;
    transition: var(--ph-transition);
    border: 1px solid rgba(83, 52, 131, 0.5);
}

.ph_criteria__item:hover {
    transform: scale(1.05);
    box-shadow: var(--ph-shadow);
}

.ph_criteria__icon {
    font-size: 3rem;
    color: var(--ph-accent-pink);
    margin-bottom: 1.5rem;
}

.ph_criteria__subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--ph-text-light);
}

.ph_criteria__list {
    list-style: none;
    text-align: left;
}

.ph_criteria__list li {
    padding: 0.5rem 0;
    color: var(--ph-text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.ph_criteria__list li::before {
    content: '►';
    color: var(--ph-accent-pink);
    position: absolute;
    left: 0;
}

.ph_responsible__section {
    padding: 4rem 2rem;
    background: var(--ph-dark-secondary);
}

.ph_responsible__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--ph-text-light);
}

.ph_responsible__partners {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ph_responsible__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--ph-border-radius);
    transition: var(--ph-transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ph_responsible__link:hover {
    background: rgba(233, 69, 96, 0.1);
    transform: translateY(-5px);
}

.ph_responsible__logo {
    width: 150px;
    height: 80px;
    object-fit: contain;
}

.ph_responsible__age {
    font-size: 2rem;
    font-weight: bold;
    color: var(--ph-accent-pink);
    padding: 1rem 2rem;
    border: 2px solid var(--ph-accent-pink);
    border-radius: var(--ph-border-radius);
}

.ph_responsible__text {
    color: var(--ph-text-gray);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.ph_footer__container {
    background: var(--ph-dark-primary);
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid var(--ph-accent-blue);
}

.ph_footer__block {
    flex: 1;
    min-width: 250px;
}

.ph_footer__subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--ph-text-light);
}

.ph_footer__text {
    color: var(--ph-text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ph_footer__mini-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.ph_footer__mini-logo {
    width: 100px;
    height: 40px;
    object-fit: contain;
    opacity: 0.8;
    transition: var(--ph-transition);
}

.ph_footer__mini-logo:hover {
    opacity: 1;
}

.ph_footer__site-name {
    font-family: 'Prata', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--ph-text-light);
}

.ph_footer__nav {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    max-width: 400px;
}

.ph_footer__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--ph-text-gray);
    transition: var(--ph-transition);
}

.ph_footer__link:hover {
    color: var(--ph-text-light);
    transform: translateX(5px);
}

.ph_footer__copyright {
    color: var(--ph-text-gray);
    margin-bottom: 1rem;
}

.ph_footer__social {
    display: flex;
    gap: 1rem;
}

.ph_footer__social-icon {
    font-size: 1.5rem;
    color: var(--ph-text-gray);
    transition: var(--ph-transition);
    cursor: pointer;
}

.ph_footer__social-icon:hover {
    color: var(--ph-accent-pink);
    transform: scale(1.2);
}

.ph_cookie__notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--ph-dark-primary) 0%, var(--ph-accent-purple) 100%);
    padding: 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.6s ease;
    z-index: 1000;
    border-top: 2px solid var(--ph-accent-pink);
}

.ph_cookie__notification.active {
    transform: translateY(0);
}

.ph_cookie__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
}

.ph_cookie__icon {
    font-size: 2rem;
    color: var(--ph-accent-pink);
}

.ph_cookie__text {
    flex: 1;
    color: var(--ph-text-light);
}

.ph_cookie__accept {
    background: var(--ph-accent-pink);
    color: var(--ph-text-light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--ph-border-radius);
    cursor: pointer;
    transition: var(--ph-transition);
    font-family: 'Fira Sans', sans-serif;
}

.ph_cookie__accept:hover {
    background: #d43a55;
    transform: scale(1.05);
}

.ph_age__verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ph_age__dialog {
    background: linear-gradient(135deg, var(--ph-dark-primary) 0%, var(--ph-accent-blue) 100%);
    padding: 3rem;
    border-radius: var(--ph-border-radius);
    text-align: center;
    max-width: 500px;
    margin: 2rem;
    border: 2px solid var(--ph-accent-pink);
    animation: ph_modal_appear 0.6s ease;
}

.ph_age__icon {
    font-size: 4rem;
    color: var(--ph-accent-pink);
    margin-bottom: 1.5rem;
}

.ph_age__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--ph-text-light);
}

.ph_age__message {
    color: var(--ph-text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ph_age__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ph_age__confirm {
    background: var(--ph-accent-pink);
    color: var(--ph-text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--ph-border-radius);
    cursor: pointer;
    transition: var(--ph-transition);
    font-family: 'Fira Sans', sans-serif;
    font-size: 1rem;
}

.ph_age__confirm:hover {
    background: #d43a55;
    transform: scale(1.05);
}

.ph_age__deny {
    background: transparent;
    color: var(--ph-text-gray);
    border: 1px solid var(--ph-text-gray);
    padding: 1rem 2rem;
    border-radius: var(--ph-border-radius);
    cursor: pointer;
    transition: var(--ph-transition);
    font-family: 'Fira Sans', sans-serif;
    font-size: 1rem;
}

.ph_age__deny:hover {
    color: var(--ph-text-light);
    border-color: var(--ph-text-light);
}

.ph_age__disclaimer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--ph-text-gray);
}

@keyframes ph_title_glow {
    0% {
        text-shadow: 0 0 20px rgba(233, 69, 96, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(233, 69, 96, 0.8), 0 0 40px rgba(233, 69, 96, 0.6);
    }
}

@keyframes ph_rain_effect {
    0% {
        transform: translateY(-100%) translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateY(100%) translateX(100%) rotate(45deg);
    }
}

@keyframes ph_modal_appear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 1024px) {
    .ph_header__container {
        padding: 1rem 1.5rem;
    }
    
    .ph_welcome__main-title {
        font-size: 3rem;
    }
    
    .ph_platforms__card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .ph_header__container {
        padding: 1rem;
    }
    
    .ph_header__navigation-desktop,
    .ph_header__disclaimer-desktop {
        display: none !important;
    }
    
    .ph_header__menu-toggle {
        display: flex;
    }
    
    .ph_header__brand {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .ph_header__title {
        font-size: 1.2rem;
    }
    
    .ph_header__logo {
        width: 60px;
        height: 60px;
    }
    
    .ph_welcome__section {
        padding: 3rem 1rem;
        min-height: 70vh;
    }
    
    .ph_welcome__main-title {
        font-size: 2.5rem;
    }
    
    .ph_welcome__description {
        font-size: 1.1rem;
    }
    
    .ph_platforms__section,
    .ph_criteria__section,
    .ph_responsible__section {
        padding: 3rem 1rem;
    }
    
    .ph_criteria__item {
        flex: 1 1 100%;
    }
    
    .ph_responsible__partners {
        flex-direction: column;
    }
    
    .ph_footer__container {
        flex-direction: column;
        text-align: center;
    }
    
    .ph_footer__nav {
        align-items: center;
    }
    
    .ph_cookie__content {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .ph_header__navigation-mobile,
    .ph_header__disclaimer-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .ph_header__container {
        padding: 0.5rem;
    }
    
    .ph_header__navigation-mobile {
        padding: 1.5rem;
    }
    
    .ph_header__disclaimer-mobile {
        padding: 1rem;
        top: calc(100% + 160px);
    }
    
    .ph_header__title {
        font-size: 1rem;
    }
    
    .ph_header__logo {
        width: 50px;
        height: 50px;
    }
    
    .ph_welcome__section {
        padding: 2rem 0.5rem;
    }
    
    .ph_welcome__main-title {
        font-size: 2rem;
    }
    
    .ph_welcome__legal {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .ph_platforms__card,
    .ph_criteria__item {
        padding: 1.5rem;
    }
    
    .ph_platforms__header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ph_age__dialog {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .ph_age__buttons {
        flex-direction: column;
    }
}

@media (max-width: 320px) {
    .ph_header__logo {
        width: 60px;
        height: 60px;
    }
    
    .ph_welcome__main-title {
        font-size: 1.8rem;
    }
    
    .ph_platforms__card,
    .ph_criteria__item {
        padding: 1rem;
    }
    
    .ph_footer__container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .ph_platforms__card:hover,
    .ph_criteria__item:hover {
        transform: none;
    }
    
    .ph_platforms__link:hover,
    .ph_footer__link:hover {
        transform: none;
    }
}