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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    /* padding-bottom: 6rem; */
}

/* Navigation */
nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

nav a.active {
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s 0.2s both;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s 0.4s both;
}

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

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Dynamic Content Area */
#dynamic-content-area {
    /* max-width: 1280px; */
    margin: 0 auto;
    /* padding: 2rem; */
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
    max-height: 46px;
    font-size: 13px;
    display: none;
}

footer p {
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}








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

.premium-settings {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    min-height: calc(100vh - 4.4rem);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}



/* 움직이는 배경 입자들 */
.premium-settings .particles {
    position: absolute;
    inset: 0;
    /* z-index: 1; */
}

.premium-settings .particle {
    position: absolute;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float-particle 20s infinite;
}

.premium-settings .particle:nth-child(1) {
    width: 300px;
    height: 300px;
    left: -10%;
    top: 20%;
    animation-delay: 0s;
}

.premium-settings .particle:nth-child(2) {
    width: 400px;
    height: 400px;
    right: -15%;
    bottom: 10%;
    animation-delay: 7s;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.6) 0%, transparent 70%);
}

.premium-settings .particle:nth-child(3) {
    width: 250px;
    height: 250px;
    left: 50%;
    top: -10%;
    animation-delay: 14s;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.5) 0%, transparent 70%);
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -80px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 60px) scale(0.9);
    }
}

/* 메인 컨테이너 */
.premium-settings .settings-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 550px;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.full-width {
    max-width: none !important;
}

/* 카드 스타일 */
.premium-settings .card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 28px;
    padding: 12px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

/* 카드 내부 글로우 효과 */
.premium-settings .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
}

/* 헤더 */
.premium-settings .header {
    text-align: center;
    margin-bottom: 40px;
}

.premium-settings .icon-wrapper {
    display: inline-flex;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.premium-settings .icon {
    width: 32px;
    height: 32px;
    color: white;
}

.premium-settings h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #333333 0%, #666666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.premium-settings .subtitle {
    color: rgba(51, 51, 51, 0.7);
    font-size: 14px;
    font-weight: 500;
}

/* 폼 그룹 */
.premium-settings .form-group {
    margin-bottom: 28px;
}

.premium-settings .form-group label {
    display: block;
    color: rgba(51, 51, 51, 0.9);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.premium-settings .input-wrapper {
    position: relative;
}

.premium-settings .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: rgba(51, 51, 51, 0.6);
    pointer-events: none;
}

.premium-settings input[type="text"] {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    color: #333333;
    font-size: 15px;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-settings input[type="text"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #667eea;
    box-shadow:
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.2);
}

.premium-settings input[type="text"]::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

/* 저장 버튼 */
.premium-settings .button-group {
    margin-top: 36px;
}

.premium-settings .save-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.premium-settings .save-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.premium-settings .save-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.premium-settings .save-button:hover::before {
    opacity: 1;
}

.premium-settings .save-button:active {
    transform: translateY(0);
}

/* 메시지 */
.premium-settings .message {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    opacity: 0 !important;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-settings .message.show {
    opacity: 1 !important;
    transform: translateY(0);
}

.premium-settings .message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.premium-settings .message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* 반응형 */
@media (max-width: 768px) {
    .premium-settings .card {
        padding: 32px 24px;
    }

    .premium-settings h1 {
        font-size: 24px;
    }

    .premium-settings input[type="text"] {
        padding: 14px 14px 14px 44px;
        font-size: 14px;
    }

    .premium-settings .save-button {
        padding: 16px;
        font-size: 15px;
    }
}







.premium-settings .settings-container {
    text-align: center;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.premium-settings .loader {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
}

.premium-settings .loader-circle {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(0, 0, 0, 0.2);
    border-top-color: #333333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.premium-settings .loader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    animation: spin 0.7s linear infinite reverse;
}

/* 타이틀 */
.premium-settings h1 {
    color: #333333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* 설명 텍스트 */
.premium-settings p {
    color: rgba(51, 51, 51, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 진행률 바 */
.premium-settings .progress-container {
    margin-top: 40px;
}

.premium-settings .progress-text {
    color: rgba(51, 51, 51, 0.9);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.premium-settings .progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.premium-settings .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #333333, rgba(51, 51, 51, 0.7));
    border-radius: 10px;
    animation: progress 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

@keyframes progress {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 0%;
    }
}

/* 소셜 링크 */
.premium-settings .social-links {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.premium-settings .social-link {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.premium-settings .social-link:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}







.main-container {
    width: calc(100% - 20px);
    height: calc(100vh - 9vh);
}

.main-container .card {
    width: 100%;
    height: 100%;
}

.modal {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    position: fixed;
    left: 0;
    top: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: modalFadeIn 0.3s ease-out;
}

.modal .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    max-width: 400px;
    width: 90%;
    height: auto !important;
    /* Override inline style */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal .card label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    display: block;
}

.modal .button-group {
    width: 100%;
    display: flex;
    justify-content: center;
}

.modal .save-button {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.modal .save-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

/* 카드 내부 글로우 효과 */
.modal .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}