* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Poppins', 'Pretendard', sans-serif;
    line-height: 1.7;
    color: #2C2C2C;
    overflow-x: hidden;
}

.gradient-primary {
    background: linear-gradient(135deg, #FF6B35 20%, #FF8E53 50%, #FFB085 100%);
}

.gradient-warm {
    background: linear-gradient(135deg, #FFF8F5 0%, #F7F3F0 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #FF6B35 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
    background: rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #FF6B35;
    border: 2px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
    transform: translateY(-2px);
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF6B35, transparent);
    margin: 0 auto;
    width: 100px;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.scroll-indicator {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 53, 0.8); }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.game-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFF8F5 0%, #F7F3F0 100%);
}

.process-step {
    position: relative;
    padding-left: 60px;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    width: 2px;
    height: calc(100% - 50px);
    background: linear-gradient(to bottom, #FF6B35, transparent);
}

.process-step:last-child::before {
    display: none;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.team-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.floating-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.floating-element:nth-child(1) { animation: float 6s ease-in-out infinite; }
.floating-element:nth-child(2) { animation: float 8s ease-in-out infinite 1s; }
.floating-element:nth-child(3) { animation: float 7s ease-in-out infinite 2s; }
.floating-element:nth-child(4) { animation: float 9s ease-in-out infinite 3s; }
.floating-element:nth-child(5) { animation: float 5s ease-in-out infinite 4s; }

.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #FF6B35 #F7F3F0;
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #F7F3F0;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #FF6B35;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: #E55A2E;
}

/* Header fixes */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

/* Content padding to prevent header overlap */
main {
    padding-top: 80px;
}

section {
    position: relative;
    z-index: 1;
}

/* Hero section specific fixes */
#challenge {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 50%, #FFB085 100%) !important;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-text {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-text {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    main {
        padding-top: 70px;
    }
    
    #challenge {
        padding-top: 70px;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #ff6b35 0%, #e65100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-glow {
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.card-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
}

.gaming-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
}

.prize-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.timeline-line {
    background: linear-gradient(90deg, #ff6b35, #ff8c42, #ffa726);
    height: 4px;
    border-radius: 2px;
}

.orange-gradient {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffa726 100%);
}

.orange-gradient-reverse {
    background: linear-gradient(135deg, #ffa726 0%, #ff8c42 50%, #ff6b35 100%);
}
.dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.dropdown-menu.active {
    max-height: 300px;
}
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-menu.active {
    transform: translateX(0);
}
.header-shadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}