/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FEF7ED;
    background: linear-gradient(135deg, #0F0F23 0%, #1A1A2E 25%, #16213E 50%, #0F0F23 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(244, 114, 182, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #F472B6, #A855F7, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #FEF7ED;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-link:hover {
    color: #F472B6;
    background: rgba(244, 114, 182, 0.1);
    transform: translateY(-2px);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(244, 114, 182, 0.6);
    border-radius: 8px;
    padding: 12px;
    backdrop-filter: blur(10px);
    z-index: 1600;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #F472B6;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding-top: 8rem;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    z-index: 2;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #F472B6, #A855F7, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(244, 114, 182, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(244, 114, 182, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(244, 114, 182, 0.8), 0 0 40px rgba(168, 85, 247, 0.5);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #D1D5DB;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(45deg, #F472B6, #A855F7);
    color: #FEF7ED;
    box-shadow: 0 8px 32px rgba(244, 114, 182, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(244, 114, 182, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, #374151, #4B5563);
    color: #FEF7ED;
    border: 2px solid #A855F7;
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #4B5563, #6B7280);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.5);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

/* Floating Effects */
.hero-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    top: 40%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Games Section */
.games-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #F472B6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #D1D5DB;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.game-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.8) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(244, 114, 182, 0.2);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(244, 114, 182, 0.3);
    border-color: rgba(244, 114, 182, 0.5);
}

.game-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(244, 114, 182, 0.8), rgba(168, 85, 247, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #1F2937;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: #FEF7ED;
    transform: scale(1.05);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #F472B6;
}

.game-info p {
    color: #D1D5DB;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Rating System */
.game-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating-label {
    font-size: 0.9rem;
    color: #9CA3AF;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.star:hover,
.star.active {
    color: #F59E0B;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    transform: scale(1.1);
}

.rating-value {
    font-size: 0.9rem;
    color: #9CA3AF;
    font-weight: 600;
}

/* Newsletter Section */
.newsletter-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #F472B6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: #D1D5DB;
    margin-bottom: 3rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(244, 114, 182, 0.3);
    border-radius: 12px;
    background: rgba(31, 41, 55, 0.8);
    color: #FEF7ED;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #F472B6;
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.1);
}

.form-group input::placeholder {
    color: #9CA3AF;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0F0F23 0%, #1A1A2E 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(244, 114, 182, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #F472B6;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #D1D5DB;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #F472B6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 114, 182, 0.2);
    color: #9CA3AF;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    z-index: 2000;
    border: 2px solid rgba(244, 114, 182, 0.3);
    border-radius: 12px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateX(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    color: #D1D5DB;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-link {
    color: #F472B6;
    text-decoration: none;
    font-size: 0.9rem;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.cookie-buttons .btn-primary {
    background: linear-gradient(45deg, #F472B6, #A855F7);
}

.cookie-buttons .btn-secondary {
    background: rgba(75, 85, 99, 0.8);
    border: 1px solid rgba(244, 114, 182, 0.3);
}

/* Policy Pages */
.policy-section {
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.8) 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(244, 114, 182, 0.2);
}

.policy-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #F472B6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-date {
    text-align: center;
    color: #9CA3AF;
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-text h2 {
    color: #F472B6;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    border-bottom: 2px solid rgba(244, 114, 182, 0.3);
    padding-bottom: 0.5rem;
}

.policy-text h3 {
    color: #A855F7;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.policy-text p {
    color: #D1D5DB;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.policy-text ul {
    color: #D1D5DB;
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.policy-text li {
    margin-bottom: 0.5rem;
}

.policy-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(45deg, rgba(244, 114, 182, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(244, 114, 182, 0.3);
    text-align: center;
    font-weight: 600;
    color: #F472B6;
}

/* Responsive Design */
@media (max-width: 1200px) and (min-width: 901px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .game-image {
        height: 160px;
    }
    
    .game-info {
        padding: 1.25rem;
    }
}

@media (max-width: 900px) {
    .burger {
        display: flex !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 400px;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1500;
        border-left: 1px solid rgba(244, 114, 182, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: #FEF7ED !important;
        display: block;
        padding: 1rem 0.5rem;
        border-bottom: 1px solid rgba(244, 114, 182, 0.2);
        z-index: 10;
        font-size: 1.2rem;
        text-align: center;
        width: 80%;
    }

    .nav-menu a:hover {
        background: rgba(245, 158, 11, 0.1);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding-top: 12rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-card {
        margin: 0 1rem;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(120%);
    }

    .cookie-banner.show {
        transform: translateY(0);
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons .btn {
        width: 100%;
    }

    .policy-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .policy-title {
        font-size: 2rem;
    }

    .policy-text h2 {
        font-size: 1.5rem;
    }

    .policy-text h3 {
        font-size: 1.2rem;
    }
}
