:root {
    --primary: #7c3aed;
    --primary-light: #8b5cf6;
    --secondary: #a3e635;
    --secondary-light: #84cc16;
    --dark: #1f2937;
    --gray-dark: #374151;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.025em;
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(163, 230, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero-span {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: black;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-visual {
    animation: slideInRight 1s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-gif-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    max-width: 100%;
}

.hero-gif {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.hero-gif-container:hover .hero-gif {
    transform: scale(1.05);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-gif {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

.feature-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover .feature-card-glow {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.sponsor {
    background: var(--white);
}

.sponsor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sponsor-image-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.sponsor-image {
    width: 100%;
    height: auto;
    display: block;
}

.sponsor-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sponsor-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--gray-dark);
}

.sponsor-features {
    display: grid;
    gap: 1rem;
}

.sponsor-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.sponsor-feature:hover {
    transform: translateY(-5px);
}

.sponsor-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--primary);
}

.team {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-member {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-gif {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    margin-bottom: 1.5rem;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.member-tagline {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    color: var(--gray);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.team-member-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.team-member:hover .team-member-glow {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.about-team {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.about-team-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-dark);
}

.team-description p {
    margin-bottom: 1.5rem;
}

.padel-game {
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.game-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.game-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-light);
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.game-canvas-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-canvas-container {
    position: relative;
    background: #0f172a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    padding: 0;
}

#padelGame {
    width: 100%;
    height: 400px;
    display: block;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0;
}

.game-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.game-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.game-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
}

.game-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.game-instructions {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.instructions-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.instructions-list {
    list-style: none;
    padding: 0;
}

.instructions-list li {
    padding: 0.25rem 0;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instructions-list li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.footer {
    background: #000000;
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-tagline {
    color: var(--gray-light);
    font-size: 1rem;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        min-height: calc(100vh - 80px);
    }

    .nav {
        display: none;
    }

    .nav.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-container {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .sponsor-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .game-stats {
        grid-template-columns: 1fr;
    }

    .game-controls {
        flex-direction: column;
        align-items: center;
    }

    .game-btn {
        width: 200px;
        justify-content: center;
    }

    .game-canvas-container {
        max-width: 100%;
        overflow: hidden;
    }
    
    #padelGame {
        width: 100% !important;
        height: 300px !important;
        max-width: 100%;
    }
    
    .game-controls {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .game-btn {
        min-width: 140px;
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .game-title {
        font-size: 2rem;
    }

    #padelGame {
        height: 250px !important;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .game-btn {
        width: 100%;
        max-width: 200px;
    }
}
/* About Team Section with Logo */
.about-team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.team-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-dark);
    text-align: left;
}

.team-description p {
    margin-bottom: 1.5rem;
}

.team-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rubberduck-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* Hover Effects */
.rubberduck-logo:hover {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 10px 25px rgba(124, 58, 237, 0.3)) 
            brightness(1.1);
}

.team-logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.team-logo-container:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .about-team-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .team-logo-container {
        order: -1;
    }
    
    .rubberduck-logo {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .rubberduck-logo {
        max-width: 300px;
    }
}
