/* Landing Page - Modern Minimal Design */

/* CSS Variables for scroll-based effects */
:root {
    --throne-scale: 1.0;
    --throne-brightness: 0.7;
}

/* Landing Page Background - With Throne Image */
body.landing-page::before {
    background-image: url('/static/images/throne.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0.4;
    -webkit-filter: brightness(var(--throne-brightness)) contrast(1.4);
    filter: brightness(var(--throne-brightness)) contrast(1.4);
    -webkit-transform: scale(var(--throne-scale)) translateZ(0);
    transform: scale(var(--throne-scale)) translateZ(0);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, filter;
}

/* Hero Section - Minimal */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 50%, transparent 40%, rgba(10, 10, 10, 0.6) 100%),
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 100;
    letter-spacing: 12px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Scroll Indicator - Remove or make minimal */
.scroll-indicator {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    opacity: 0.5;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.arrow-down {
    width: 24px;
    height: 24px;
    border-left: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
    transform: rotate(-45deg);
    margin: 0 auto;
    opacity: 0.6;
}

/* Welcome Section - Minimal Cards */
.welcome-section {
    padding: 8rem 0;
    background: rgba(10, 10, 10, 0.6);
    position: relative;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.10) 0%, transparent 60%);
    pointer-events: none;
}

.welcome-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 6px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.welcome-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 3rem 2rem;
    background: transparent;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--secondary-color);
    transition: height 0.4s ease;
}

.feature-card:hover {
    border-color: var(--secondary-color);
    transform: translateX(10px);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.feature-icon i {
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Features Section - Minimal */
.features-section {
    padding: 8rem 0;
    background: rgba(10, 10, 10, 0.7);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.features-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 6px;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    text-transform: uppercase;
}

.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 3rem;
    background: transparent;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
}

.showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--secondary-color);
    transition: height 0.4s ease;
}

.showcase-item:hover {
    border-color: var(--secondary-color);
    transform: translateX(10px);
}

.showcase-item:hover::before {
    height: 100%;
}

.showcase-item-reverse {
    flex-direction: row-reverse;
}

.showcase-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

.showcase-icon i {
    display: block;
}

.showcase-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showcase-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.showcase-header h3 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.showcase-tagline {
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
    margin: 0;
}

.showcase-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showcase-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: transparent;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-weight: 300;
}

.feature-tag:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.feature-tag .tag-icon {
    font-size: 1rem;
}

/* Coming Soon Section */
.coming-soon-section {
    padding: 8rem 0;
    background: rgba(10, 10, 10, 0.6);
    position: relative;
}

.coming-soon-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.10) 0%, transparent 60%);
    pointer-events: none;
}

.coming-soon-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 6px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.coming-soon-card {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--secondary-color);
    transition: height 0.4s ease;
}

.coming-soon-card:hover {
    border-color: var(--secondary-color);
    transform: translateX(10px);
}

.coming-soon-card:hover::before {
    height: 100%;
}

.coming-soon-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.6;
}

.coming-soon-icon i {
    display: block;
}

.coming-soon-card:hover .coming-soon-icon {
    opacity: 1;
}

.coming-soon-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.coming-soon-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    font-weight: 300;
}

.coming-soon-card .card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.coming-soon-card .badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: rgba(10, 10, 10, 0.75);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 6px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.cta-section p {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

    .hero-subtitle {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

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

    .welcome-section h2,
    .features-section h2,
    .coming-soon-section h2,
    .cta-section h2 {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .features-grid,
    .coming-soon-grid {
        grid-template-columns: 1fr;
    }

    .showcase-item,
    .showcase-item-reverse {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .showcase-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .showcase-header h3 {
        font-size: 1.5rem;
    }

    .showcase-tagline {
        font-size: 0.75rem;
    }

    .showcase-description {
        font-size: 0.95rem;
    }

    .showcase-features {
        justify-content: center;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Help Button in Navbar */
.btn-help {
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-help:hover {
    color: #d4af37;
    transform: scale(1.1);
}

/* Guidelines Modal */
#guidelinesModal .modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid #d4af37;
}

.guidelines-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #2a2a2a;
}

.guidelines-header i {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.guidelines-header h2 {
    color: #f5f5f5;
    font-size: 1.8rem;
    margin: 0;
}

.guidelines-content {
    padding: 2rem;
}

.guideline-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(42, 42, 42, 0.3);
    border-left: 3px solid #d4af37;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.guideline-section:hover {
    background: rgba(42, 42, 42, 0.5);
    transform: translateX(5px);
}

.guideline-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d4af37 0%, #f4cf47 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.guideline-icon i {
    font-size: 1.2rem;
    color: #0a0a0a;
}

.guideline-section h3 {
    color: #d4af37;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.guideline-section p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.guideline-tips ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.guideline-tips li {
    color: #cccccc;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.guideline-tips li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.guidelines-footer {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid #2a2a2a;
}

.guidelines-footer .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    #guidelinesModal .modal-content {
        max-width: 95%;
        margin: 2rem auto;
    }

    .guidelines-header h2 {
        font-size: 1.5rem;
    }

    .guideline-section {
        padding: 1rem;
    }

    .guideline-section h3 {
        font-size: 1.1rem;
    }
}

/* NEW Feature Badge */
.feature-card-new {
    position: relative;
    overflow: visible;
}

.new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(238, 90, 36, 0.5);
    }
}
