/* Import Google Fonts - Same as main index.php */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Reggae+One&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

/* Root Variables - Same as main index.php */
:root {
    --primary-color: #6C5CE7;
    --secondary-color: #a29bfe;
    --accent-color: #00cec9;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Main Container */
.main-container {
    padding-top: 100px;
    min-height: 100vh;
    max-width: 1600px;
    margin: 0 auto;
}

/* Header - Same styling as main index.php */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 100;
    background: rgba(15, 12, 41, 0.8);
    backdrop-filter: blur(10px);
}

.header .navbar ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header .navbar ul li a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.header .navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.header .navbar ul li a:hover::after {
    width: 100%;
}

.header .navbar ul li a:hover {
    color: var(--accent-color);
}

/* Mobile Menu Button */
#chaingestyle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    margin-right: 1rem;
}

/* Title Section - Same styling as main index.php section titles */
.title {
    text-align: center;
    margin: 2rem 0 4rem 0;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    height: 40vh;
    background: linear-gradient(rgba(15, 12, 41, 0.8), rgba(48, 43, 99, 0.8)), url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 206, 201, 0.2) 0%, rgba(15, 12, 41, 0.8) 70%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 206, 201, 0.8);
    animation: textFocusIn 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto;
    animation: slideUp 1s ease-out 0.5s both;
}

/* Category Navigation */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 15px;
    background: rgba(15, 12, 41, 0.5);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 206, 201, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 206, 201, 0.1);
}

.category-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 206, 201, 0.3);
    border-radius: 30px;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: rgba(0, 206, 201, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.3);
}

.category-btn.active {
    background: rgba(0, 206, 201, 0.5);
    box-shadow: 0 0 15px rgba(0, 206, 201, 0.5);
}

/* Section Styles */
.sponsor-section {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 206, 201, 0.3);
}

.section-title i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 15px;
}

.section-title h2 {
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 206, 201, 0.5);
}

/* Sponsors Grid - Modern card design matching main index.php */
.sponsors-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 2rem;
    justify-items: center;
    width: 100%;
}

.platinum-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.sponsor {
    background: #ffffff;
    border: 1px solid rgba(0, 206, 201, 0.3);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 206, 201, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 220px;
    perspective: 1000px;
    max-width: 300px;
    min-width: 250px;
    width: 100%;
    margin: 0 auto;
}

.sponsor-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    min-width: 100%;
}

.sponsor:hover .sponsor-inner {
    transform: rotateY(180deg);
}

.sponsor-front, .sponsor-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    min-width: 100%;
    box-sizing: border-box;
}

.sponsor-front {
    background: #ffffff;
}

.sponsor-back {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.sponsor-back h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.sponsor-back p {
    font-size: 0.9rem;
    color: #fff;
}

.sponsor img {
    max-width: 90%;
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.1));
    border-radius: 5px;
}

.sponsor:hover img {
    transform: scale(1.05);
}

.sponsor.platinum {
    height: 250px;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.5);
    max-width: 350px;
    min-width: 280px;
    width: 100%;
}

.sponsor.platinum img {
    max-height: 150px;
}

.sponsor.platinum .sponsor-back {
    background: linear-gradient(135deg, #ffd700, var(--primary-color));
}

/* Spotlight Container - Enhanced with modern design */
.spotlight-container {
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.8), rgba(0, 206, 201, 0.1));
    padding: 3rem;
    margin: 3rem auto;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 206, 201, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 206, 201, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
    animation: glow 3s infinite alternate;
}

.spotlight-container:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 15px 35px rgba(0, 206, 201, 0.4);
}

.spotlight-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 206, 201, 0.2), transparent);
    transform: rotate(45deg);
    transition: transform 0.8s;
}

.spotlight-container:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.spotlight-container h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 15px rgba(0, 206, 201, 0.5);
}

.spotlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.spotlight img {
    max-width: 150px;
    border-radius: 10px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 0 20px rgba(0, 206, 201, 0.5);
}

.spotlight:hover img {
    transform: scale(1.05) translateZ(20px);
}

.spotlight h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 10px rgba(0, 206, 201, 0.5);
}

.spotlight p {
    font-size: 1.1rem;
    color: #ddd;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.spotlight-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.4);
}

.spotlight-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 206, 201, 0.6);
}

/* Become a Sponsor Section */
.become-sponsor {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(15, 12, 41, 0.5);
    border-radius: 15px;
    margin: 3rem auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 206, 201, 0.2);
}

.become-sponsor::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(0, 206, 201, 0.1), transparent 30%);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

.become-sponsor h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 206, 201, 0.5);
}

.become-sponsor p {
    font-size: 1.2rem;
    color: #ddd;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.sponsor-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.4);
}

.sponsor-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 206, 201, 0.6);
}

/* Responsive Design - Matching main index.php breakpoints */
@media (max-width: 1200px) {
    .sponsors-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .sponsors-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    
    .header .navbar ul {
        display: none;
    }
    
    #chaingestyle {
        display: block;
    }
    
    .sponsors-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
        padding: 1rem;
        max-width: 700px;
    }
    
    .sponsor {
        height: 200px;
        max-width: 250px;
        min-width: 200px;
        width: 100%;
    }
    
    .sponsor.platinum {
        height: 220px;
        max-width: 280px;
        min-width: 220px;
        width: 100%;
    }
    
    .title {
        font-size: 2rem;
        margin: 1.5rem 0 3rem 0;
    }
    
    .spotlight-container {
        margin: 1.5rem auto;
        padding: 1.5rem;
    }
    
    .category-nav {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px;
    }
    
    .category-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .sponsor {
        height: 180px;
    }
    
    .sponsor.platinum {
        height: 200px;
    }
    
    .sponsor-front img {
        max-height: 80px;
    }
    
    .sponsor-back h3 {
        font-size: 1.2rem;
    }
    
    .sponsor-back p {
        font-size: 0.8rem;
    }
    
    .sponsors-container {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .spotlight-container {
        padding: 1rem;
        margin: 1rem auto;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title i {
        font-size: 1.5rem;
    }
    
    .category-nav {
        overflow-x: auto;
        padding: 8px;
        justify-content: flex-start;
    }
    
    .category-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
        white-space: nowrap;
    }
}

@media (max-width: 400px) {
    .sponsors-container {
        grid-template-columns: 1fr;
        max-width: 300px;
        width: 100%;
    }
    
    .sponsor {
        height: 170px;
        max-width: 280px;
        min-width: 180px;
        width: 100%;
    }
    
    .sponsor.platinum {
        height: 190px;
        max-width: 280px;
        min-width: 180px;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Footer Styles */
.footer {
    background: rgba(15, 12, 41, 0.9);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 206, 201, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 206, 201, 0.5));
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.footer-links, .footer-social {
    margin-bottom: 2rem;
}

.footer-links h4, .footer-social h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    color: #777;
    font-size: 0.9rem;
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textFocusIn {
    0% {
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(0, 206, 201, 0.2);
    }
    to {
        box-shadow: 0 0 30px rgba(0, 206, 201, 0.5);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Apply animations to sections */
.sponsor-section:nth-child(1) { animation-delay: 0.1s; }
.sponsor-section:nth-child(2) { animation-delay: 0.3s; }
.sponsor-section:nth-child(3) { animation-delay: 0.5s; }
.sponsor-section:nth-child(4) { animation-delay: 0.7s; }
.sponsor-section:nth-child(5) { animation-delay: 0.9s; }
.sponsor-section:nth-child(6) { animation-delay: 1.1s; }
.sponsor-section:nth-child(7) { animation-delay: 1.3s; }

.sponsor {
    animation: fadeInUp 0.6s ease-out forwards;
}

.sponsor:nth-child(1) { animation-delay: 0.1s; }
.sponsor:nth-child(2) { animation-delay: 0.2s; }
.sponsor:nth-child(3) { animation-delay: 0.3s; }
.sponsor:nth-child(4) { animation-delay: 0.4s; }
.sponsor:nth-child(5) { animation-delay: 0.5s; }
.sponsor:nth-child(6) { animation-delay: 0.6s; }
.sponsor:nth-child(7) { animation-delay: 0.7s; }
.sponsor:nth-child(8) { animation-delay: 0.8s; }

.spotlight-container {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.8s;
}

.become-sponsor {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 2s;
}
