@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #000000;
    --primary-dark: #333333;
    --bg-dark: #ffffff;
    --text-primary: #000000;
    --text-secondary: #666666;
    --glass: rgba(0, 0, 0, 0.05);
    --border: rgba(0, 0, 0, 0.15);
}

body {
    font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont,
        sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: -1;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    width: 100%;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 0;
    background: #000000;
    position: relative;
    color: #ffffff;
}

header .header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

header .tagline {
    color: #999999;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Hero Section */
.hero {
    width: 100%;
    text-align: center;
    padding: 80px 0;
    margin-bottom: 0;
    background: #ffffff;
    position: relative;
}

.hero .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.server-info {
    display: inline-block;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 40px;
    margin: 30px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.server-ip {
    color: var(--text-primary);
    font-family: "Courier New", monospace;
    letter-spacing: 2px;
}

.copy-btn {
    background: var(--text-primary);
    border: none;
    color: var(--bg-dark);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.copy-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 10px;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Card Section */
.section {
    width: 100%;
    margin-bottom: 0;
    padding: 80px 0;
    position: relative;
}

.section .section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section.bg-alt-1 {
    background: #000000;
    color: #ffffff;
}

.section.bg-alt-1 .section-title,
.section.bg-alt-1 .card h3,
.section.bg-alt-1 .card p,
.section.bg-alt-1 .card-icon {
    color: #ffffff;
}

.section.bg-alt-1 .card p {
    color: #999999;
}

.section.bg-alt-1 .card-icon {
    color: #666666;
}

.section.bg-alt-1 .btn-primary {
    background: #ffffff;
    color: #000000;
}

.section.bg-alt-1 .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.section.bg-alt-2 {
    background: #ffffff;
    color: #000000;
}

.section.bg-alt-2 .section-title,
.section.bg-alt-2 .feature-item h4,
.section.bg-alt-2 .feature-item p {
    color: #000000;
}

.section.bg-alt-2 .feature-item p {
    color: #666666;
}

.section.bg-alt-2 .feature-icon {
    color: #999999;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--text-primary);
}

.feature-icon {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Shop Section */
.shop-section {
    width: 100%;
    text-align: center;
    padding: 80px 20px;
    background: #000000;
    border-radius: 0;
    margin: 0;
    position: relative;
    color: #ffffff;
}

.shop-section .shop-content {
    max-width: 1200px;
    margin: 0 auto;
}

.shop-section h2,
.shop-section p {
    color: #ffffff;
}

.shop-section p {
    color: #999999;
}

.shop-section .btn-primary {
    background: #ffffff;
    color: #000000;
}

.shop-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.shop-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    padding: 60px 0;
    margin-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    background: #ffffff;
    color: #666666;
}

footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.scroll-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    animation-delay: 0.1s;
}
.delay-2 {
    animation-delay: 0.2s;
}
.delay-3 {
    animation-delay: 0.3s;
}
.delay-4 {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .logo {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .server-info {
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}
