/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial Unicode MS', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #000;
    overflow-x: hidden;
}

/* Better font support for special characters like Ø */
h1, h2, h3, h4, h5, h6,
.nav-logo a,
.hero-title,
.section-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 0, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(138, 43, 226, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.5));
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: #8a2be2;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #4169e1, #8a2be2);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #000 0%, #1a0033 50%, #2d1b69 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 20px 50px 20px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #4169e1, #8a2be2, #da70d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: glow 3s ease-in-out infinite alternate;
    line-height: 1.2;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.6));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(65, 105, 225, 0.8));
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #8a2be2;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-block;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    color: #fff;
    box-shadow: 0 5px 25px rgba(138, 43, 226, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(138, 43, 226, 0.7);
}

.btn-secondary {
    background: transparent;
    color: #8a2be2;
    border: 2px solid #8a2be2;
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.5);
}

.hero-graphics {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon {
    font-size: 10rem;
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(138, 43, 226, 0.8));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #8a2be2;
    border-radius: 50%;
    animation: particles 10s linear infinite;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.8);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    background: #4169e1;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    background: #8a2be2;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    background: #da70d6;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    background: #4169e1;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    background: #8a2be2;
}

@keyframes particles {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* Section Styles */
.section-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #4169e1, #8a2be2);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, #2d1b69 0%, #1a0033 20%, #0a0015 100%);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: #8a2be2;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.5));
}

.stat-label {
    color: #b0b0b0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gaming-setup {
    font-size: 8rem;
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(138, 43, 226, 0.7));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Team Section */
.team {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0015 0%, #1a0033 30%, #2d1b69 100%);
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    justify-items: center;
}

.team-member {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: #8a2be2;
    box-shadow: 0 20px 50px rgba(138, 43, 226, 0.4);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.2), transparent);
    transition: left 0.5s;
}

.team-member:hover::before {
    left: 100%;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.6);
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #b0b0b0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.member-game {
    background: rgba(138, 43, 226, 0.2);
    color: #da70d6;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    border: 1px solid rgba(138, 43, 226, 0.5);
}

/* Tournaments Section */
.tournaments {
    padding: 100px 0;
    background: linear-gradient(180deg, #2d1b69 0%, #1a0033 30%, #0a0015 100%);
    position: relative;
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    justify-items: center;
}

.tournament-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.tournament-card:hover {
    transform: translateY(-8px);
    border-color: #8a2be2;
    box-shadow: 0 20px 50px rgba(138, 43, 226, 0.4);
}

.tournament-header {
    background: linear-gradient(135deg, #4169e1, #8a2be2);
    color: #fff;
    padding: 1.8rem;
    text-align: center;
}

.tournament-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tournament-date {
    font-size: 0.95rem;
    opacity: 0.9;
}

.tournament-body {
    padding: 2rem;
}

.tournament-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tournament-placement {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.tournament-prize {
    color: #00ff88;
    font-weight: 700;
    font-size: 1.1rem;
}

.tournament-description {
    color: #b0b0b0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 80px 0 120px 0;
    background: linear-gradient(180deg, #0a0015 0%, #1a0033 40%, #2d1b69 100%);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(26, 0, 50, 0.6);
    border-radius: 15px;
    border: 2px solid rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #8a2be2;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.4);
    background: rgba(26, 0, 50, 0.8);
}

.contact-item i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.contact-item-content {
    width: 100%;
}

.contact-item h3 {
    background: linear-gradient(45deg, #4169e1, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: #8a2be2;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #da70d6;
    text-decoration: underline;
}

.contact-form {
    background: rgba(26, 0, 50, 0.6);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(138, 43, 226, 0.4);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 10px;
    color: #e0e0e0;
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group textarea {
    resize: vertical;
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #2d1b69 0%, #1a0033 20%, #0a0015 50%, #000 100%);
    padding: 5rem 0 2rem;
    margin-top: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4169e1, #8a2be2, #da70d6, transparent);
    box-shadow: 0 2px 15px rgba(138, 43, 226, 0.8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.footer-section h3 {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #4169e1, #8a2be2, #da70d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.5));
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #da70d6;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4169e1, #8a2be2);
    border-radius: 2px;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 0.3rem 0;
    font-size: 1rem;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #8a2be2;
}

.footer-section a:hover {
    color: #8a2be2;
    transform: translateX(10px);
}

.footer-section a:hover::before {
    opacity: 1;
    left: -15px;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 15px;
    color: #8a2be2;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(138, 43, 226, 0.4);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #4169e1, #8a2be2);
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    z-index: 0;
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    border-color: #da70d6;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.6);
}

.social-links a:hover i {
    color: #fff;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
}

.footer-bottom p {
    color: #666;
    font-size: 1rem;
    letter-spacing: 1px;
}

@media (max-width: 968px) {
    .footer {
        padding: 4rem 0 2rem;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 3rem 0 1.5rem;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-section:first-child {
        grid-column: 1;
    }

    .footer-section h3 {
        font-size: 1.8rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section a::before {
        display: none;
    }

    .footer-section a:hover {
        transform: translateX(0);
    }

    .social-links {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 0, 30, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 30px rgba(138, 43, 226, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero {
        padding: 120px 20px 50px 20px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-icon {
        font-size: 5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        max-width: 100%;
    }

    .tournaments-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tournament-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .gaming-setup {
        font-size: 5rem;
    }
}
