/* === ORBITRON FONT LOADING === */
@font-face {
    font-family: 'Orbitron';
    src: url('/fonts/Orbitron-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('/fonts/Orbitron-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('/fonts/Orbitron-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('/fonts/Orbitron-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('/fonts/Orbitron-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('/fonts/Orbitron-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* === VARIABLE FONT === */
@font-face {
    font-family: 'Orbitron Variable';
    src: url('/fonts/Orbitron-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

/* === FONT FALLBACK === */
@font-face {
    font-family: 'Orbitron-Fallback';
    src: local('Courier New'), local('Monaco'), monospace;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* === ROOT VARIABLES === */
:root {
    /* Color Palette from Logo */
    --primary-black: #0A0A0A;
    --secondary-black: #1A1A1A;
    --accent-turquoise: #40E0D0;
    --accent-yellow: #FFE55C;
    --accent-pink: #FF69B4;
    --accent-orange: #FF6347;
    --accent-purple: #9370DB;
    --pure-white: #FFFFFF;
    --off-white: #F8F8F8;
    --gray-light: #CCCCCC;
    --gray-medium: #666666;
    
    /* Typography - Orbitron with reliable fallbacks */
    --font-primary: 'Orbitron', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    --font-secondary: 'Orbitron', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    --font-tertiary: 'Orbitron', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Performance optimizations */
    --will-change-transform: transform;
    --backface-visibility: hidden;
}

/* === UNIVERSAL FONT ENFORCEMENT === */
* {
    font-family: var(--font-primary) !important;
}

h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, textarea, select, label {
    font-family: var(--font-primary) !important;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary) !important;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary) !important;
}

body {
    font-family: var(--font-primary) !important;
    background-color: var(--primary-black);
    color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === COSMIC BACKGROUND === */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, var(--secondary-black) 0%, var(--primary-black) 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, var(--pure-white), transparent),
        radial-gradient(1px 1px at 40px 70px, var(--accent-turquoise), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--accent-yellow), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--accent-pink), transparent),
        radial-gradient(1px 1px at 160px 30px, var(--pure-white), transparent),
        radial-gradient(2px 2px at 180px 10px, var(--accent-purple), transparent),
        radial-gradient(1px 1px at 220px 60px, var(--accent-turquoise), transparent),
        radial-gradient(1px 1px at 270px 20px, var(--pure-white), transparent),
        radial-gradient(2px 2px at 300px 80px, var(--accent-yellow), transparent),
        radial-gradient(1px 1px at 350px 50px, var(--accent-pink), transparent);
    background-repeat: repeat;
    background-size: 400px 120px;
    opacity: 0.8;
}

.stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 60px 20px, var(--accent-purple), transparent),
        radial-gradient(1px 1px at 110px 60px, var(--pure-white), transparent),
        radial-gradient(2px 2px at 190px 90px, var(--accent-turquoise), transparent),
        radial-gradient(1px 1px at 240px 40px, var(--accent-yellow), transparent),
        radial-gradient(1px 1px at 320px 70px, var(--accent-pink), transparent);
    background-repeat: repeat;
    background-size: 450px 140px;
    opacity: 0.3;
}

@keyframes starfall {
    0% { 
        transform: translateX(0) translateY(0);
        opacity: 0.8;
    }
    100% { 
        transform: translateX(-400px) translateY(0);
        opacity: 0.8;
    }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-purple);
    box-shadow: 
        0 0 10px var(--accent-purple),
        0 0 20px var(--accent-purple),
        0 0 30px var(--accent-purple);
    animation: float 15s infinite ease-in-out;
}

.floating-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: -5s;
}

.floating-particles::after {
    top: 60%;
    right: 20%;
    animation-delay: -10s;
    background: var(--accent-turquoise);
    box-shadow: 
        0 0 10px var(--accent-turquoise),
        0 0 20px var(--accent-turquoise),
        0 0 30px var(--accent-turquoise);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.logo-small {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--accent-turquoise));
    will-change: var(--will-change-transform);
    backface-visibility: var(--backface-visibility);
}

.logo-small:hover {
    filter: drop-shadow(0 0 15px var(--accent-turquoise));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: var(--off-white);
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-turquoise), var(--accent-purple));
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-turquoise);
    text-shadow: 0 0 10px var(--accent-turquoise);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:focus {
    outline: 2px solid var(--accent-turquoise);
    outline-offset: 4px;
    border-radius: 3px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-login-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--accent-turquoise), var(--accent-purple));
    color: var(--primary-black);
    border: none;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

.nav-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.4);
}

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

.nav-login-btn:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 4px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.nav-toggle:focus {
    outline: 2px solid var(--accent-turquoise);
    outline-offset: 2px;
}

.nav-toggle:hover {
    background: rgba(64, 224, 208, 0.1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-turquoise);
    margin: 3px 0;
    transition: var(--transition-smooth);
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-content {
    z-index: 2;
}

.logo-container {
    margin-bottom: 30px;
    margin-top: 80px;
    animation: logoFloat 6s ease-in-out infinite;
}

.hero-logo {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 0 20px var(--accent-turquoise));
    transition: var(--transition-smooth);
    will-change: var(--will-change-transform);
    backface-visibility: var(--backface-visibility);
}

.hero-logo:hover {
    filter: drop-shadow(0 0 30px var(--accent-turquoise));
    transform: scale(1.05);
}

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

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-turquoise), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: titleGlow 3s ease-in-out infinite alternate;
    letter-spacing: 0.05em;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 20px var(--accent-turquoise)); }
    100% { filter: drop-shadow(0 0 30px var(--accent-purple)); }
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.cta-button {
    padding: 15px 30px;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-turquoise), var(--accent-purple));
    color: var(--pure-white);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent-pink);
    border: 2px solid var(--accent-pink);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(64, 224, 208, 0.5);
}

.cta-button.secondary:hover {
    background: var(--accent-pink);
    color: var(--primary-black);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.5);
}

.cta-button:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 4px;
}

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

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--accent-turquoise);
    border-bottom: 2px solid var(--accent-turquoise);
    transform: rotate(45deg);
    filter: drop-shadow(0 0 10px var(--accent-turquoise));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* === SECTION STYLES === */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-turquoise), var(--accent-purple));
    margin: 0 auto;
    border-radius: 50px;
    box-shadow: 0 0 20px var(--accent-turquoise);
}

/* === FLOATING LOGO === */
.floating-logo {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    opacity: 0.1;
    pointer-events: none;
    animation: logoFloat 8s ease-in-out infinite;
}

.watermark {
    width: 800px;
    height: auto;
    filter: grayscale(100%) brightness(0.3);
}

/* === ABOUT SECTION === */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-family: 'Orbitron', monospace;
}

.lead {
    font-size: 1.4rem;
    color: var(--accent-turquoise);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--gray-light);
}

.mystical-symbol {
    width: 200px;
    height: 200px;
    position: relative;
    margin: 0 auto;
}

.symbol-ring {
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-purple);
    border-radius: 50%;
    position: absolute;
    animation: rotate 20s linear infinite;
    box-shadow: 
        0 0 20px var(--accent-purple),
        inset 0 0 20px var(--accent-purple);
}

.symbol-core {
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--accent-turquoise), transparent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* === SERVICES SECTION === */
.services {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(64, 224, 208, 0.2);
    transition: var(--transition-smooth);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.1), transparent);
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-turquoise);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.2);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, var(--accent-turquoise), var(--accent-purple), var(--accent-pink), var(--accent-orange));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.service-card:hover .card-glow {
    opacity: 0.5;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--pure-white);
}

.service-card p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* === PORTFOLIO SECTION REMOVED - REPLACED WITH FORUM === */

/* === SUBSCRIPTION APPLICATION SECTION === */
.subscription-app {
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
}

.subscription-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(64, 224, 208, 0.3);
    border-radius: 10px;
    color: var(--off-white);
    font-size: 1rem;
    transition: var(--transition-smooth);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--secondary-black);
    color: var(--off-white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-turquoise);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
}

.form-group label {
    display: block;
    color: var(--accent-turquoise);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    pointer-events: auto;
}

/* Remove floating label animations - use static labels instead */
.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label,
.form-group select:focus + label,
.form-group select:valid + label {
    /* Keep labels static above inputs */
    color: var(--accent-turquoise);
}

.subscription-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray-light);
    position: relative;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--accent-turquoise);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--primary-black);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--accent-turquoise);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.submit-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--accent-turquoise), var(--accent-purple));
    border: none;
    border-radius: 50px;
    color: var(--pure-white);
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    align-self: flex-start;
    letter-spacing: 0.05em;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(64, 224, 208, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-smooth);
}

.submit-btn:hover .btn-glow {
    left: 100%;
}

.submit-btn:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 4px;
}

.community-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(64, 224, 208, 0.2);
    transition: var(--transition-smooth);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    border-color: var(--accent-turquoise);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-black);
    flex-shrink: 0;
}

.feature-details h4 {
    color: var(--accent-turquoise);
    margin-bottom: 8px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
}

.feature-details p {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.subscription-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    padding: 25px;
    background: rgba(64, 224, 208, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(64, 224, 208, 0.3);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, var(--accent-turquoise), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-content {
    background: var(--secondary-black);
    margin: 5% auto;
    padding: 0;
    border: 2px solid var(--accent-turquoise);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(64, 224, 208, 0.3);
    min-height: fit-content;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-close {
    color: var(--accent-turquoise);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--accent-pink);
    text-shadow: 0 0 10px var(--accent-pink);
}

/* Modal Body for Forum */
.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.modal-link:hover {
    text-shadow: 0 0 10px var(--accent-pink);
}

/* === FOOTER === */
.footer {
    background: var(--primary-black);
    border-top: 1px solid rgba(64, 224, 208, 0.2);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: grayscale(100%) brightness(0.5);
    transition: var(--transition-smooth);
}

.footer-logo-img:hover {
    filter: none;
}

.footer-text {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid rgba(64, 224, 208, 0.3);
    background: rgba(26, 26, 26, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-family: 'Orbitron', monospace;
    font-weight: 500;
}

.social-link:hover {
    color: var(--accent-turquoise);
    border-color: var(--accent-turquoise);
    background: rgba(64, 224, 208, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(64, 224, 208, 0.3);
}

.social-link i {
    font-size: 1.2rem;
}

.footer-founder {
    color: var(--gray-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 10px;
    border-top: 1px solid rgba(64, 224, 208, 0.2);
    padding-top: 15px;
}

/* Professional Links in About Section */
.founder-links {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(64, 224, 208, 0.2);
}

.founder-connect {
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
}

.professional-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.prof-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition-smooth);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.prof-link.linkedin {
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.2), rgba(0, 119, 181, 0.1));
    color: #0077b5;
    border: 2px solid rgba(0, 119, 181, 0.4);
}

.prof-link.github {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.2), rgba(147, 112, 219, 0.1));
    color: var(--accent-turquoise);
    border: 2px solid rgba(64, 224, 208, 0.4);
}

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

.prof-link:hover::before {
    left: 100%;
}

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

.prof-link.linkedin:hover {
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.3), rgba(0, 119, 181, 0.2));
    border-color: #0077b5;
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.4);
}

.prof-link.github:hover {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.3), rgba(147, 112, 219, 0.2));
    border-color: var(--accent-turquoise);
    box-shadow: 0 10px 25px rgba(64, 224, 208, 0.4);
}

.prof-link i {
    font-size: 1.3rem;
}

.prof-link span {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
        padding: 30px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-actions {
        order: -1;
        margin-right: 10px;
    }
    
    .nav-login-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-logo {
        width: 100px;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    /* Professional Links */
    .professional-links {
        flex-direction: column;
        align-items: center;
    }
    
    .prof-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Footer */
    .footer-social {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-link {
        width: 200px;
        justify-content: center;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Subscription */
    .subscription-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .subscription-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Modal */
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 95vh;
    }
    
    /* Floating logo */
    .floating-logo {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .subscription-form {
        gap: 20px;
    }
}

/* === SCROLL ANIMATIONS === */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === PERFORMANCE OPTIMIZATIONS === */
.hero-logo,
.logo-small,
.watermark,
.footer-logo-img {
    will-change: transform, filter;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.service-card,
.forum-post,
.cta-button {
    will-change: transform;
    backface-visibility: hidden;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .stars,
    .floating-particles,
    .mystical-symbol {
        animation: none !important;
    }
}

/* === UTILITY CLASSES === */
.hidden {
    display: none !important;
}

/* New Post button styling aligns with auth buttons */
#new-post-btn.auth-btn {
    margin-left: 10px;
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

/* Toast notifications (shared) */
.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000;
    background: rgba(20,20,20,0.95);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.success { background: linear-gradient(135deg,#0f9d58,#0a7f46); }
.toast.error { background: linear-gradient(135deg,#ea4335,#b33026); }
.toast.info { background: linear-gradient(135deg,#4285f4,#3367d6); }

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

/* === FORUM SECTION === */
.forum {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-light);
    font-size: 1.1rem;
    margin-top: 1rem;
    font-family: 'Orbitron', monospace;
}

/* Forum Controls */
.forum-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.forum-auth {
    display: flex;
    gap: 1rem;
}

.auth-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

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

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

.auth-btn.primary {
    background: linear-gradient(135deg, var(--accent-turquoise), var(--accent-purple));
    color: var(--primary-black);
    box-shadow: 0 8px 32px rgba(64, 224, 208, 0.3);
}

.auth-btn.secondary {
    background: rgba(255, 229, 92, 0.1);
    color: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
    box-shadow: 0 8px 32px rgba(255, 229, 92, 0.2);
}

.auth-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(64, 224, 208, 0.4);
}

.auth-btn.secondary:hover {
    background: rgba(255, 229, 92, 0.2);
    box-shadow: 0 15px 40px rgba(255, 229, 92, 0.3);
}

.forum-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(30, 30, 30, 0.8);
    color: var(--gray-light);
    border: 2px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-turquoise), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-btn > span {
    position: relative;
    z-index: 1;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--accent-turquoise), var(--accent-purple));
    color: var(--primary-black);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.3);
}

/* Post Creator */
.post-creator {
    background: var(--secondary-black);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--gray-medium);
    transition: var(--transition-smooth);
}

.post-creator.hidden {
    display: none;
}

.creator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.creator-header h3 {
    color: var(--accent-turquoise);
    font-family: 'Orbitron', monospace;
}

.close-btn {
    background: none;
    border: none;
    color: var(--gray-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.close-btn:hover {
    color: var(--accent-orange);
    background: rgba(255, 99, 71, 0.1);
}

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

.post-form label {
    display: block;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.post-form input,
.post-form select,
.post-form textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-black);
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    color: var(--off-white);
    font-family: 'Orbitron', monospace;
    transition: var(--transition-smooth);
}

.post-form input:focus,
.post-form select:focus,
.post-form textarea:focus {
    outline: none;
    border-color: var(--accent-turquoise);
    box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.1);
}

.post-form textarea {
    resize: vertical;
    min-height: 120px;
}

.post-form small {
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.submit-btn,
.draft-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent-turquoise), var(--accent-purple));
    color: var(--primary-black);
}

.draft-btn {
    background: transparent;
    color: var(--gray-light);
    border: 1px solid var(--gray-medium);
}

.submit-btn:hover,
.draft-btn:hover {
    transform: translateY(-2px);
}

/* Forum Posts */
.forum-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
    min-height: 200px;
}

/* Empty Forum State */
.empty-forum {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray-light);
    background: var(--secondary-black);
    border-radius: 12px;
    border: 2px dashed var(--gray-medium);
}

.empty-forum .empty-icon {
    font-size: 4rem;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.empty-forum h3 {
    color: var(--accent-turquoise);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.empty-forum p {
    color: var(--gray-light);
    font-family: 'Orbitron', monospace;
}

.forum-post {
    background: var(--secondary-black);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid var(--accent-turquoise);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.forum-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.05), rgba(147, 112, 219, 0.05));
    opacity: 0;
    transition: var(--transition-smooth);
    /* Ensure the decorative overlay never blocks clicks on buttons/links */
    pointer-events: none;
}

.forum-post:hover::before {
    opacity: 1;
}

.forum-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Owner badge and highlight */
.owner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.forum-post.owner-highlight {
    border-left-color: #8b5cf6;
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.25) inset;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-turquoise);
}

.author-info h4 {
    color: var(--accent-turquoise);
    margin: 0;
    font-family: 'Orbitron', monospace;
}

.author-title {
    color: var(--gray-light);
    font-size: 0.9rem;
    display: block;
}

.post-date {
    color: var(--gray-medium);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

.post-category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.post-category-badge i {
    font-size: 0.7rem;
}

.post-category-badge.announcements {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.post-category-badge.releases,
.post-category-badge.product-release {
    background: linear-gradient(135deg, #ff8c00, #ff7f00) !important;
    color: white;
}

.post-category-badge.updates {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    color: white;
}

.post-category-badge.news {
    background: linear-gradient(135deg, #6c5ce7, #5a67d8);
    color: white;
}

.post-content .post-title {
    color: var(--pure-white);
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.post-excerpt {
    color: var(--off-white);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', monospace;
}

/* Structured paragraph & list styling inside forum posts */
.post-excerpt p {
    margin: 0 0 1rem;
    white-space: normal; /* allow wrapping */
}

.post-excerpt p:last-child {
    margin-bottom: 0;
}

.post-excerpt ul {
    margin: 0 0 1.2rem 1.25rem;
    padding: 0;
    list-style: disc;
}

.post-excerpt ul li {
    margin: 0.3rem 0;
    line-height: 1.5;
}

.post-excerpt ul:last-child {
    margin-bottom: 0;
}

.post-attachments {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    max-width: 100%;
}

.attachment {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-black);
    border-radius: 8px;
    color: var(--accent-yellow);
    font-size: 0.9rem;
    border: 1px solid var(--gray-medium);
    transition: var(--transition-smooth);
    cursor: pointer;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attachment span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Post Images (when attachments include actual images) */
.post-attachments img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin: 0.5rem 0;
    border: 1px solid var(--gray-medium);
}

.post-attachments .attachment-image {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
}

.post-attachments .attachment-image img {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    background: var(--primary-black);
}

.attachment:hover {
    border-color: var(--accent-yellow);
    background: rgba(255, 229, 92, 0.1);
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(64, 224, 208, 0.1);
    color: var(--accent-turquoise);
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(64, 224, 208, 0.3);
}

.post-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-medium);
    position: relative;
    z-index: 2; /* above post overlay */
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--gray-medium);
    color: var(--gray-light);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Orbitron', monospace;
}

/* Ensure icons are visible and styled properly */
.action-btn i {
    font-size: 1rem;
    display: inline-block;
    min-width: 1rem;
}

.action-btn i.fa-heart {
    color: var(--accent-pink);
}

.action-btn i.fa-comment {
    color: var(--accent-blue);
}

.action-btn i.fa-envelope {
    color: var(--accent-turquoise);
}

.action-btn i.fa-times {
    color: #ff4444;
}

/* Fallback icons when FontAwesome doesn't load */
.action-btn i.fa-heart:not(.fa):before {
    content: "♥";
    color: var(--accent-pink);
    font-family: inherit;
}

.action-btn i.fa-comment:not(.fa):before {
    content: "💬";
    font-family: inherit;
}

.action-btn i.fa-envelope:not(.fa):before {
    content: "✉";
    color: var(--accent-turquoise);
    font-family: inherit;
}

.action-btn i.fa-times:not(.fa):before {
    content: "✕";
    color: #ff4444;
    font-family: inherit;
}

.action-btn.like-btn i {
    color: var(--accent-pink);
}

.action-btn:hover {
    color: var(--accent-turquoise);
    border-color: var(--accent-turquoise);
    background: rgba(64, 224, 208, 0.1);
}

.action-btn.like-btn:hover {
    color: var(--accent-pink);
    border-color: var(--accent-pink);
    background: rgba(255, 105, 180, 0.1);
}

/* Forum Actions */
.forum-actions {
    text-align: center;
    margin: 3rem 0;
}

.load-more-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    color: var(--primary-black);
    border: none;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(147, 112, 219, 0.3);
}

/* Modal Enhancements for Forum */
.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    color: var(--accent-turquoise);
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--gray-light);
    font-family: 'Orbitron', monospace;
}

/* Auth Form */
.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    color: var(--accent-yellow);
    font-weight: 600;
}

.auth-form input {
    background: var(--primary-black);
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
}

.auth-form input:focus {
    border-color: var(--accent-turquoise);
    box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.1);
}

/* Subscription Form */
.subscription-form .checkbox-group,
.subscription-form .radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--off-white);
    cursor: pointer;
    font-family: 'Orbitron', monospace;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    display: none;
}

.checkmark,
.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-medium);
    border-radius: 4px;
    position: relative;
    transition: var(--transition-smooth);
}

.radio-mark {
    border-radius: 50%;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark,
.radio-label input[type="radio"]:checked + .radio-mark {
    border-color: var(--accent-turquoise);
    background: var(--accent-turquoise);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-black);
    font-weight: bold;
    font-size: 0.8rem;
}

.radio-label input[type="radio"]:checked + .radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-black);
}

/* === DOCUMENTATION PAGE THEME === */
.documentation-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  background: radial-gradient(ellipse at bottom, var(--secondary-black) 0%, var(--primary-black) 100%);
}

#documentation-list h2 {
  color: var(--accent-turquoise);
  font-size: 2.2em;
  margin-bottom: 1em;
  text-shadow: 0 0 10px var(--accent-turquoise);
}

.doc-post {
  background: rgba(26,26,26,0.95);
  border: 1px solid var(--accent-turquoise);
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(64,224,208,0.08);
  padding: 1.5em;
  margin-bottom: 2em;
  transition: box-shadow 0.3s;
  position: relative;
}
.doc-post:hover {
  box-shadow: 0 4px 32px 0 var(--accent-turquoise);
}
.doc-post h3 {
  color: var(--accent-yellow);
  margin-bottom: 0.5em;
  font-size: 1.5em;
}
.doc-post p {
  color: var(--off-white);
  font-size: 1.1em;
  margin-bottom: 0.5em;
}
.doc-post small {
  color: var(--accent-pink);
  font-size: 0.95em;
  position: absolute;
  bottom: 1em; right: 1.5em;
}

#owner-post {
  background: rgba(64,224,208,0.08);
  border: 1px solid var(--accent-turquoise);
  border-radius: 12px;
  padding: 2em;
  margin-top: 2em;
  box-shadow: 0 2px 16px 0 rgba(64,224,208,0.12);
}
#owner-post h2 {
  color: var(--accent-yellow);
  margin-bottom: 1em;
}
#doc-form input, #doc-form textarea {
  background: var(--secondary-black);
  color: var(--off-white);
  border: 1px solid var(--accent-turquoise);
  border-radius: 6px;
  padding: 0.7em;
  margin-bottom: 1em;
  font-size: 1.1em;
  transition: border-color 0.2s;
}
#doc-form input:focus, #doc-form textarea:focus {
  border-color: var(--accent-yellow);
  outline: none;
}
#doc-form button {
  background: linear-gradient(90deg, var(--accent-turquoise), var(--accent-yellow));
  color: var(--primary-black);
  border: none;
  padding: 0.9em 2em;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(64,224,208,0.15);
  transition: background 0.2s;
}
#doc-form button:hover {
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-turquoise));
}

/* Owner login/logout buttons */
.documentation-login-btn, .documentation-logout-btn {
  background: var(--accent-purple);
  color: var(--pure-white);
  border: none;
  border-radius: 6px;
  padding: 0.7em 1.5em;
  margin: 1em 0.5em 2em 0;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(147,112,219,0.15);
  transition: background 0.2s;
}
.documentation-login-btn:hover, .documentation-logout-btn:hover {
  background: var(--accent-turquoise);
  color: var(--primary-black);
}

/* Responsive */
@media (max-width: 700px) {
  #owner-post, .doc-post {
    padding: 1em;
  }
  .doc-post h3 {
    font-size: 1.2em;
  }
}
