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

body {
    font-family: 'Share', sans-serif;
    background: radial-gradient(150% 150% at 50% -50%, #FF93AB 0%, #FF9C7F 20%, #FFA168 40%, #8AC6D1 60%, #A2D9CE 80%, #F9F5F1 100%);
    background-size: 300% 300%;
    animation: gradientBG 15s ease infinite;
    color: #2E2A42;
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 3px dashed #FF93AB;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6B6B;
    text-shadow: 3px 3px 0 #4ECDC4, 6px 6px 0 rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: rotate(0deg) scale(1.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #2E2A42;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 15px;
    border-radius: 50px;
    background: linear-gradient(45deg, #FFE66D, #FF6B6B);
    border: 2px solid #FF6B6B;
    box-shadow: 0 4px 0 #FF6B6B;
    transition: all 0.2s ease;
    position: relative;
    display: block;
}

nav a:hover {
    transform: translateY(4px);
    box-shadow: 0 0 0 #FF6B6B;
    background: linear-gradient(45deg, #FF6B6B, #FFE66D);
}

nav a:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #FF6B6B;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    width: 80px;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23FF6B6B"/></svg>') no-repeat;
    background-size: contain;
    animation: float 3s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 10%;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 80,80 20,80" fill="%234ECDC4"/></svg>') no-repeat;
    background-size: contain;
    animation: float 4s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #2E2A42;
    text-shadow: 4px 4px 0 #FFE66D;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 5%;
    width: 90%;
    height: 10px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path d="M0,5 Q25,0 50,5 T100,5" stroke="%23FF6B6B" stroke-width="2" fill="none"/></svg>') repeat-x;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 30px auto;
    color: #2E2A42;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 20px;
    border: 3px dashed #4ECDC4;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(45deg, #FF6B6B, #FFE66D);
    color: #2E2A42;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    border: 3px solid #FF6B6B;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 0 #FF6B6B;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(4px);
    box-shadow: 0 4px 0 #FF6B6B;
    background: linear-gradient(45deg, #FFE66D, #FF6B6B);
}

.btn:active {
    transform: translateY(8px);
    box-shadow: 0 0 0 #FF6B6B;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

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

/* Sections */
.about, .games, .why-us {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.7);
    border-top: 3px dashed #FF93AB;
    border-bottom: 3px dashed #FF93AB;
    position: relative;
    overflow: hidden;
}

.about::before, .games::before, .why-us::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23FFE66D"/></svg>') no-repeat;
    background-size: contain;
    animation: spin 8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #2E2A42;
    text-shadow: 3px 3px 0 #4ECDC4;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

section h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 15"><path d="M0,7.5 Q25,0 50,7.5 T100,7.5" stroke="%23FF6B6B" stroke-width="3" fill="none"/></svg>') repeat-x;
}

/* Game Cards */
.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 4px solid #4ECDC4;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.game-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25);
}

.game-card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid #FF6B6B;
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-bottom: 3px solid #FF6B6B;
    aspect-ratio: 16/9;
}

.game-card h3 {
    padding: 20px 20px 0;
    font-size: 1.8rem;
    color: #FF6B6B;
    text-align: center;
}

.game-card p {
    padding: 10px 20px;
    color: #2E2A42;
    text-align: center;
    min-height: 100px;
}

.game-card .btn {
    margin: 20px;
    width: calc(100% - 40px);
    text-align: center;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #FFE66D;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: #FF6B6B;
}

.feature::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 80,80 20,80" fill="%23FF6B6B"/></svg>') no-repeat;
    background-size: contain;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #4ECDC4;
    text-shadow: 2px 2px 0 #FFE66D;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.feature h3 {
    margin-bottom: 15px;
    color: #FF6B6B;
    font-size: 1.5rem;
}

.feature p {
    color: #2E2A42;
}

/* Footer */
footer {
    background: linear-gradient(45deg, #2E2A42, #4A446A);
    color: white;
    padding: 40px 0;
    text-align: center;
    border-top: 5px dashed #FF6B6B;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23FFE66D"/></svg>') no-repeat;
    background-size: contain;
    animation: pulse 2s infinite;
}

footer p {
    margin-top: 20px;
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
    100% { transform: translateX(-50%) scale(1); }
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #FFE66D;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 10px 15px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: #FF6B6B;
    color: white;
    transform: scale(1.1);
}

/* Disclaimer Styles */
.disclaimer {
    background: rgba(255, 255, 255, 0.9);
    border: 3px dashed #FF6B6B;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.disclaimer p:first-child {
    font-size: 1.5rem;
    color: #FF6B6B;
    margin-bottom: 15px;
    animation: warning-pulse 2s infinite;
}

.disclaimer p:nth-child(2),
.disclaimer p:nth-child(3) {
    color: #2E2A42;
    margin-bottom: 10px;
}

/* Simplified animation without movement */
@keyframes warning-pulse {
    0% { text-shadow: 0 0 5px rgba(255, 107, 107, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 107, 107, 1); }
    100% { text-shadow: 0 0 5px rgba(255, 107, 107, 0.5); }
}

/* Game Pages */
.game-page {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.7);
    border-top: 3px dashed #FF93AB;
}

.game-header {
    text-align: center;
    margin-bottom: 50px;
}

.game-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #FF6B6B;
    text-shadow: 3px 3px 0 #4ECDC4;
}

.game-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.game-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.game-image::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid #FF6B6B;
    border-radius: 20px;
    z-index: -1;
}

.game-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid #4ECDC4;
}

.game-description {
    flex: 1;
    min-width: 300px;
}

.game-description p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: #2E2A42;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 15px;
    border: 2px dashed #FF93AB;
}

/* Privacy Policy and Terms */
.privacy-policy, .terms-conditions {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.7);
    border-top: 3px dashed #FF93AB;
}

.privacy-policy h1, .terms-conditions h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #FF6B6B;
    font-size: 3rem;
    text-shadow: 3px 3px 0 #4ECDC4;
}

.privacy-policy-content, .terms-conditions-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    border: 3px dashed #4ECDC4;
}

.privacy-policy-content h2, .terms-conditions-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #FF6B6B;
    font-size: 1.8rem;
}

.privacy-policy-content p, .terms-conditions-content p {
    margin-bottom: 15px;
    color: #2E2A42;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .game-content {
        flex-direction: column;
    }
    
    .btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .game-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footer-links a {
        margin: 5px 0;
        font-size: 1rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .footer-links a {
        width: 80%;
        margin: 5px auto;
    }
}