/* Modern Gaming Theme Variables */
:root {
    --primary: #6C2BD9;
    --secondary: #2B7CD9;
    --accent: #FF2D95;
    --background: #0A0A0F;
    --surface: #151520;
    --text: #FFFFFF;
    --text-secondary: #B0B0C0;
    --neon-glow: 0 0 10px rgba(108, 43, 217, 0.5),
        0 0 20px rgba(108, 43, 217, 0.3),
        0 0 30px rgba(108, 43, 217, 0.1);
    --glass-bg: rgba(21, 21, 32, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

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

.logo-container {
    position: relative;
    width: 70px;
    height: 70px;
}

.nav-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 5px rgba(124, 58, 237, 0.5));

}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
            rgba(124, 58, 237, 0.4) 0%,
            transparent 70%);
    filter: blur(10px);
    animation: glowPulse 3s ease-in-out infinite;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(120deg, #fff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.brand-name::after {
    content: 'RanBhoomiPro';
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    -webkit-text-stroke: 1px rgba(124, 58, 237, 0.3);
    animation: textGlitch 3s infinite linear alternate-reverse;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #a0aec0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease;
}

.nav-links a:hover::before {
    width: 150%;
    height: 300%;
}

.nav-links a.active {
    background: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2f 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%,
            rgba(108, 43, 217, 0.3) 0%,
            rgba(10, 10, 15, 0) 70%);
    pointer-events: none;
}

.hero-left {
    display: flex;
    align-items: center;
    padding: 5rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.glowing-text {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, #fff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
    animation: textGlow 3s ease-in-out infinite;
}

.hero-content p {
    font-size: 1.2rem;
    color: #dddddd;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Neon Button */
.neon-btn {
    position: relative;
    display: inline-block;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    color: #fff;
    font-family: var(--glass-border);
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(45deg, #7c3aed, #3b82f6);
    border-radius: 25px;
    letter-spacing: 2px;
    overflow: hidden;
    transition: 0.5s;
    z-index: 1;
}

.neon-btn:hover {
    color: #fff;
    background: linear-gradient(45deg, #3b82f6, #7c3aed);
    box-shadow: 0 0 25px #7c3aed;
    transform: translateY(-5px);
}

.neon-btn span {
    position: absolute;
    display: block;
}

.neon-btn span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #7c3aed);
    animation: btn-anim1 2s linear infinite;
}

.neon-btn span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #7c3aed);
    animation: btn-anim2 2s linear infinite;
    animation-delay: 0.5s;
}

.neon-btn span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(270deg, transparent, #7c3aed);
    animation: btn-anim3 2s linear infinite;
    animation-delay: 1s;
}

.neon-btn span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #7c3aed);
    animation: btn-anim4 2s linear infinite;
    animation-delay: 1.5s;
}

/* Crystal Button */
.crystal-btn {
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crystal-btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    /*background: rgba(124, 58, 237, 0.1);*/
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.crystal-btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #7c3aed;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text small {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.crystal-btn:hover .crystal-btn-bg {
    background: rgba(124, 58, 237, 0.2);
}

.crystal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.2);
}
.download-buttons a{
    text-decoration: none;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    
}

/* Hero Right Side */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-preview {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(1.1);
    animation: float 6s ease-in-out infinite;
}

.glow-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
            rgba(124, 58, 237, 0.3) 0%,
            transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #7c3aed;
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

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

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: -3s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 40%;
    animation-delay: -6s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: -9s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 70%;
    animation-delay: -12s;
}

/* Animations */
@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(124, 58, 237, 0.8);
    }
}

@keyframes float {

    0%,
    100% {
        transform: scale(1.1) translateY(0);
    }

    50% {
        transform: scale(1.1) translateY(-20px);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-1000%) rotate(360deg);
        opacity: 0;
    }
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes textGlitch {

    0%,
    100% {
        transform: translate(0);
    }

    33% {
        transform: translate(-2px, 1px);
    }

    66% {
        transform: translate(2px, -1px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 45% 55%;
    }

    .hero-left {
        padding: 3rem;
    }

    .glowing-text {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 100px;
        text-align: center;
        min-height: auto;
    }

    .hero-left {
        padding: 2rem 1rem;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-right {
        position: relative;
        height: 300px;
        margin-top: 2rem;
    }

    .game-preview {
        max-height: none;
        height: 100%;
        object-fit: contain;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        padding: 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem;
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .crystal-btn {
        width: 100%;
    }

    /* Players Section Mobile */
    .players-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1rem;
    }

    .player-card {
        margin: 0 auto;
        max-width: 300px;
    }

    /* Features Section Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .feature-card {
        text-align: center;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .nav-brand {
        gap: 0.5rem;
    }

    .logo-container {
        width: 45px;
        height: 45px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-tagline {
        font-size: 0.65rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .glowing-text {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .neon-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }

    .crystal-btn {
        padding: 0.7rem 1.2rem;
    }

    .btn-text {
        font-size: 0.9rem;
    }

    .btn-text small {
        font-size: 0.65rem;
    }

    .hero-right {
        height: 250px;
    }

    /* Section Spacing */
    section {
        padding: 3rem 1rem;
    }

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

    /* Player Cards Mobile */
    .player-image {
        height: 250px;
    }

    .player-info h3 {
        font-size: 1.2rem;
    }

    .stat-value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-container {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 0.6rem;
    }

    .glowing-text {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .neon-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .crystal-btn {
        padding: 0.6rem 1rem;
    }

    .btn-icon {
        width: 20px;
        height: 20px;
    }

    .hero-right {
        height: 200px;
    }

    .players-grid {
        grid-template-columns: 1fr;
    }

    .player-card {
        margin: 0 auto;
        max-width: 300px;
    }

    /* Features Section Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .feature-card {
        text-align: center;
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
        width: 100%;
        text-align: center;
        border-radius: 12px;
        background: rgba(124, 58, 237, 0.1);
    }

    .nav-links a.active {
        background: rgba(124, 58, 237, 0.3);
    }

    .nav-links a:hover::before {
        display: none;
    }

    .nav-links .nav-download {
        margin-top: 1rem;
        background: var(--primary);
        color: #fff;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-brand {
        gap: 0.8rem;
    }

    .logo-container {
        width: 50px;
        height: 50px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-tagline {
        font-size: 0.7rem;
    }

    .nav-links {
        width: 100%;
        max-width: none;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Games Section */
.games-section {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, var(--surface), rgba(10, 10, 15, 0.95));
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('Images/bg-pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(120deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.game-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(21, 21, 32, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-height: 500px;
}

.game-card:hover {
    transform: translateY(-15px);
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.6) 30%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
}

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

.game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 2;
    background: linear-gradient(to top,
            rgba(21, 21, 32, 0.95) 0%,
            rgba(21, 21, 32, 0.8) 50%,
            transparent 100%);
    transform: translateY(60%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.game-card:hover .game-info {
    transform: translateY(0);
}

.game-info h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover .game-info p {
    opacity: 1;
    transform: translateY(0);
}

.game-info .play-now {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    align-self: flex-start;
    margin-top: auto;
}

.game-card:hover .game-info .play-now {
    opacity: 1;
    transform: translateY(0);
}

.game-info .play-now:hover {
    background: #8344ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Responsive Styles for Games Section */
@media (max-width: 1200px) {
    .game-card {
        min-height: 480px;
    }

    .game-info {
        padding: 2rem;
    }

    .game-info h3 {
        font-size: 1.6rem;
    }

    .game-info p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
}

@media (max-width: 992px) {
    .game-card {
        min-height: 450px;
    }

    .game-info {
        padding: 1.8rem;
        transform: translateY(65%);
    }

    .game-info h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .game-info p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .game-info .play-now {
        padding: 0.9rem 2.2rem;
    }
}

@media (max-width: 768px) {
    .game-card {
        min-height: 420px;
    }

    .game-info {
        padding: 1.5rem;
        transform: translateY(70%);
    }

    .game-info h3 {
        font-size: 1.4rem;
    }

    .game-info p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }

    .game-info .play-now {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .game-card {
        min-height: 400px;
    }

    .game-info {
        padding: 1.5rem;
        height: 82%;
    }

    .game-info h3 {
        font-size: 1.3rem;
    }

    .game-info p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .game-info .play-now {
        padding: 0.8rem 1.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .game-card {
        min-height: 380px;
    }

    .game-info {
        padding: 1.2rem;
        height: 80%;
    }

    .game-info h3 {
        font-size: 1.2rem;
    }

    .game-info p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }

    .game-info .play-now {
        padding: 0.7rem 1.6rem;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: radial-gradient(circle at center,
            rgba(124, 58, 237, 0.4) 0%,
            transparent 70%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.section-description {
    text-align: center;
    color: #aaa;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.features-tabs {
    max-width: 1200px;
    margin: 0 auto 60px;
    position: relative;
}

.tab-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}


.tab-btn {
    background: transparent;
    border: 1px solid #ff4655;
    color: #fff;
    padding: 12px 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.tab-btn:hover {
    background: rgba(255, 70, 85, 0.1);
}

.tab-btn.active {
    background: #ff4655;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 70, 85, 0.3);
}

.tab-btn.active::after {
    background: #ff4655;
}

.tab-content {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.tab-description {
    text-align: center;
    color: #aaa;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-size: 1rem;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup img {
    width: 50%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 70, 85, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.features-list {
    display: grid;
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.02);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 70, 85, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ff4655;
    flex-shrink: 0;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid rgba(255, 70, 85, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.feature-text h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-text p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phone-mockup {
        order: -1;
    }

    .phone-mockup img {
        width: 40%;
    }

    .features-list {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .tab-links {
        flex-direction: column;
        gap: 0;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .tab-btn::after {
        display: none;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 30px 20px;
    }

    .feature-icon {
        margin-bottom: 20px;
    }

    .feature-text h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .tab-title {
        font-size: 1.6rem;
    }

    .phone-mockup img {
        width: 70%;
    }

    .feature-item {
        padding: 20px 15px;
    }
}

/* Players Section */
.players-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95), rgba(10, 10, 15, 0.8));
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.players-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('Images/bg-pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.players-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(120deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.player-card {
    background: rgba(21, 21, 32, 0.7);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    opacity: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-height: 500px;
}

.player-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(var(--card-index, 0) * 0.15s);
}

.player-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.player-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.4);
    border-color: rgba(124, 58, 237, 0.6);
}

.player-image {
    width: 100%;
    
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    max-height: 360px;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-card:hover .player-image img {
    transform: scale(1.15);
}

.player-info {
    padding: 1.8rem;
    text-align: center;
    position: relative;
    background: linear-gradient(to top,
            rgba(21, 21, 32, 1),
            rgba(21, 21, 32, 0.9));
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    min-height: 200px;
}

.player-info h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
    font-weight: 600;
}

.player-info .role {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
    text-align: center;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    opacity: 0;
    transition: all 0.3s ease;
}

.player-card:hover .stat::after {
    opacity: 1;
    bottom: -5px;
}

.stat-value {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
    background: linear-gradient(120deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Responsive Styles for Players Section */
@media (max-width: 1200px) {
    .players-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 1.2rem;
    }

    .player-image {
        max-height: 320px;
    }
}

@media (max-width: 992px) {
    .players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
        padding: 1rem;
    }

    .player-image {
        aspect-ratio: 3/4;
        max-height: 300px;
    }

    .player-info {
        padding: 1.5rem;
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .players-section {
        padding: 4rem 1rem;
    }

    .players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0.8rem;
    }

    .player-image {
        aspect-ratio: 1/1;
        max-height: 260px;
    }

    .player-info {
        padding: 1.2rem;
        min-height: 160px;
    }

    .player-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .player-info .role {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .player-stats {
        gap: 1rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .players-section {
        padding: 3rem 0.8rem;
    }

    .players-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        max-width: 360px;
        margin: 0 auto;
        padding: 0.5rem;
    }

    .player-card {
        max-width: 100%;
    }

    .player-image {
        aspect-ratio: 4/5;
        max-height: 240px;
    }

    .player-info {
        padding: 1.2rem;
        min-height: 140px;
    }
}

@media (max-width: 360px) {
    .players-grid {
        gap: 1.5rem;
        padding: 0.3rem;
        max-width: 300px;
    }

    .player-image {
        aspect-ratio: 3/4;
        max-height: 220px;
    }

    .player-info {
        padding: 1rem;
        min-height: 130px;
    }

    .player-info h3 {
        font-size: 1.1rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: var(--surface);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(108, 43, 217, 0.2);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: var(--text);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #1a1a1a;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.section-description {
    text-align: center;
    color: #aaa;
    margin-bottom: 40px;
}

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #ff4655;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #ff4655;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff4655;
}

.feature-item h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-item p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
.footer {
    background: #0a0a0a;
    padding: 60px 0 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: 80px;
    /* height: auto; */
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}

.footer-logo p {
    color: #aaa;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.heart {
    color: #ff4655;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff4655;
}

.footer-column a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-column a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #ff4655;
    padding-left: 20px;
}

.footer-column a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
}

.social-link:hover {
    background: #ff4655;
    transform: translateY(-3px);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column a {
        padding-left: 0;
    }

    .footer-column a:hover {
        padding-left: 0;
    }

    .footer-column a::before {
        display: none;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Top Players Section */
.top-players-section {
    padding: 80px 0;
    background: #141414;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.player-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.player-card:hover {
    transform: translateY(-5px);
}

.player-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    text-align: center;
    padding-top: 15px;
}

.player-info h3 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 5px;
}

.role {
    color: #9b9b9b;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8e44ad;
    margin-bottom: 5px;
}

.stat-label {
    color: #9b9b9b;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}