* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    color: #fff;
    line-height: 1.6;
}

html {
    background: #0a0a0a;
}

/* Top Navigation */
.top-nav {
    background: #1a1a1a;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.nav-left {
    display: flex;
    gap: 30px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #DC2626;
}

.nav-link .icon {
    font-size: 20px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}



/* Campaign Menu */
.campaign-menu {
    position: fixed;
    left: 0;
    top: 60px;
    width: 300px;
    height: calc(100vh - 60px);
    background: #1a1a1a;
    border-right: 1px solid #333;
    overflow-y: auto;
    z-index: 100;
}



.campaign-item {
    background: #0a0a0a;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #333;
    overflow: visible;
    transition: border-color 0.3s;
    position: relative;
    z-index: 1;
}

.campaign-item.active {
    z-index: 2;
}

.side-menu-content .campaign-item {
    margin-bottom: 15px;
}

.campaign-item:hover {
    border-color: #555;
}

.campaign-item.active {
    border-color: #DC2626;
}

.campaign-header {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    transition: background 0.3s ease;
    position: relative;
    z-index: 1;
}

.side-menu-content .campaign-header {
    padding: 15px 12px;
}

.campaign-header:hover {
    background: rgba(220, 38, 38, 0.05);
}

.campaign-title-wrapper {
    flex: 1;
}

.campaign-title-wrapper h3 {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.campaign-short-desc {
    color: #999;
    font-size: 13px;
    line-height: 1.4;
}

.campaign-arrow {
    color: #DC2626;
    font-size: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-top: 5px;
    display: inline-block;
}

.campaign-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 15px;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    will-change: max-height;
}

.campaign-content.active {
    overflow: visible;
    max-height: 2000px !important;
    padding-top: 10px;
    padding-bottom: 15px;
}

.campaign-details {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-top: 0;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.campaign-content.active .campaign-details {
    opacity: 1;
}

.campaign-btn {
    display: block;
    padding: 10px 20px;
    background: #DC2626;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
    transition: background 0.3s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s, background 0.3s ease;
    position: relative;
    z-index: 10;
}

.campaign-content.active .campaign-btn {
    opacity: 1;
    transform: translateY(0);
    color: #fff !important;
}

.campaign-btn:hover {
    background: #B91C1C;
    color: #fff !important;
}

.campaign-btn:hover {
    background: #B91C1C;
}

/* Side Menu Sections */
.side-menu-section {
    background: #0a0a0a;
    border-top: 1px solid #333;
    margin-top: 0;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.side-menu-section:first-child {
    border-top: none;
    margin-top: 0;
}

.side-menu-section.active {
    z-index: 2;
}

.side-menu-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
    border-bottom: 1px solid #333;
}

.side-menu-header:hover {
    background: rgba(220, 38, 38, 0.05);
}

.side-menu-section.active .side-menu-header {
    background: rgba(220, 38, 38, 0.1);
}

.side-menu-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #DC2626;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.side-menu-toggle:hover {
    background: #B91C1C;
}

.side-menu-header h2 {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.side-menu-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 10px;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    will-change: max-height;
}

.side-menu-content.active {
    overflow: visible;
    padding-top: 10px;
    padding-bottom: 15px;
    max-height: 5000px !important;
}

.side-menu-content .campaign-content {
    overflow: visible;
}

.side-menu-content .campaign-item {
    overflow: visible;
}

.side-menu-content .campaign-item:last-child {
    margin-bottom: 0;
}

.side-menu-content .campaign-item {
    margin-bottom: 10px;
}

/* Storyler */
.stories-section {
    padding: 20px 15px;
    border-top: 1px solid #333;
    margin-top: 15px;
}

.stories-title {
    color: #DC2626;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 0 5px;
}

.stories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.story-item {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #333;
}

.story-item:hover .story-avatar {
    border-color: #DC2626;
}

.story-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.story-item:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: #DC2626;
}

/* Story Lightbox */
.story-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
}

.story-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.story-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.story-lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.story-lightbox-caption {
    color: #fff;
    font-size: 16px;
}

.story-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Main Content */
.main-content {
    margin-left: 300px;
    width: calc(100vw - 300px);
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-content .top-section,
.main-content .bottom-section {
    width: 100%;
    max-width: 1400px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 25px;
}

.section-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-header .icon {
    font-size: 28px;
}

.section-header p {
    color: #999;
    font-size: 16px;
}

/* Banner Container */
.banner-container {
    margin-bottom: 30px;
}

/* Main Banner Slider */
.banner-slider {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    max-width: 1480px;
    margin: 0 auto;
    height: 370px; /* 1480x370 boyutuna göre */
    aspect-ratio: 1480 / 370;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.banner-slide.is-active {
    pointer-events: auto;
    z-index: 2;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.banner-dot.active {
    background: #ffffff;
    width: 20px;
}

/* Main Banner */
.main-banner-link {
    display: block;
    text-decoration: none;
}

.main-banner {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-banner-content {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 30px;
    width: 100%;
    z-index: 2;
    position: relative;
}

.main-banner-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-banner-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.main-logo {
    height: 40px;
    object-fit: contain;
}

.sponsor-tag {
    background: #333;
    color: #999;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
}

.main-banner h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
}

.main-banner p {
    color: #999;
    font-size: 16px;
    margin-bottom: 20px;
}

.main-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #DC2626;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    width: fit-content;
    transition: background 0.3s;
}

.main-btn:hover {
    background: #B91C1C;
}

.main-banner-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.glow-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.5));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.5));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(220, 38, 38, 0.8));
    }
}

.logo-glow span {
    color: #DC2626;
    font-weight: bold;
    font-size: 18px;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Bottom Section */
.bottom-section {
    margin-top: 60px;
}

/* Event Cards */
.event-cards-wrapper {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.event-cards-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(234, 179, 8, 0.9);
    color: #0a0a0a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.event-cards-arrow:hover {
    background: rgba(234, 179, 8, 1);
    transform: translateY(-50%) scale(1.05);
}

.event-cards-prev {
    left: -8px;
}

.event-cards-next {
    right: -8px;
}

.event-cards {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 0;
}

.event-cards::-webkit-scrollbar {
    display: none;
}

.event-card {
    flex: 0 0 calc((100% - 50px) / 3);
    min-width: 240px;
    background: #1a1a1a;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    width: 100%;
    aspect-ratio: 1080 / 1920;
    overflow: hidden;
}

.event-card > * {
    position: relative;
    z-index: 2;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
}

.event-cards-empty {
    width: 100%;
    text-align: center;
    padding: 40px;
    color: #999;
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 15px;
}

.card-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-tag {
    background: rgba(51, 51, 51, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 11px;
    width: fit-content;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.card-name {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
}

.card-description {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
}

.card-btn {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s;
    width: fit-content;
    backdrop-filter: blur(5px);
    margin-top: auto;
}

.card-btn:hover {
    background: #444;
}

.card-footer {
    color: #666;
    font-size: 12px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 968px) {
    .campaign-menu {
        width: 250px;
    }

    .main-content {
        margin-left: 250px;
        width: calc(100vw - 250px);
    }

    .event-card {
        flex: 0 0 calc((100% - 25px) / 2);
        min-width: 200px;
    }

    .main-banner-content {
        grid-template-columns: 1fr;
    }

    .main-banner-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .top-nav {
        padding: 12px 15px;
    }

    .campaign-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        width: 280px;
        height: calc(100vh - 60px);
        background: #1a1a1a;
        border-right: 1px solid #333;
        overflow-y: auto;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .campaign-menu.mobile-open {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 20px 15px;
    }

    .top-nav {
        padding: 15px 20px;
    }

    .nav-left {
        flex: 1;
        justify-content: center;
    }

    .nav-link {
        font-size: 13px;
    }

    .nav-link .icon {
        font-size: 16px;
    }

    .nav-right {
        gap: 8px;
    }



    .section-header h1 {
        font-size: 24px;
        flex-direction: column;
    }

    .banner-slider {
        height: auto;
        aspect-ratio: 1480 / 370;
        max-width: 100%;
    }
    
    .event-card {
        flex: 0 0 85%;
        min-width: 260px;
    }

    .event-cards-arrow {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .event-cards-prev {
        left: 4px;
    }

    .event-cards-next {
        right: 4px;
    }
}

