/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --deep-purple: #2d1b69;
    --neon-blue: #00d4ff;
    --neon-pink: #ff0080;
    --neon-purple: #8a2be2;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --glow-blue: rgba(0, 212, 255, 0.3);
    --glow-pink: rgba(255, 0, 128, 0.3);
    --glow-purple: rgba(138, 43, 226, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 50%, var(--deep-purple) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 128, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-orb {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    box-shadow: 0 0 20px var(--glow-blue);
    animation: pulse 2s ease-in-out infinite;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--glow-blue);
}

.nav-link.active {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--glow-blue);
}

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

/* Main Content */
main {
    margin-top: 80px;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--glow-blue);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Mystical Orb */
.orb-container {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.mystical-orb {
    width: 200px;
    height: 200px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mystical-orb:hover {
    transform: scale(1.1);
}

.orb-core {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, 
        var(--neon-blue) 0%, 
        var(--neon-purple) 30%, 
        var(--neon-pink) 60%, 
        transparent 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 50px var(--glow-blue),
        0 0 100px var(--glow-purple),
        0 0 150px var(--glow-pink),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    animation: orbFloat 6s ease-in-out infinite;
}

.orb-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background: radial-gradient(circle, 
        rgba(0, 212, 255, 0.2) 0%, 
        rgba(138, 43, 226, 0.1) 50%, 
        transparent 100%);
    border-radius: 50%;
    animation: orbGlow 4s ease-in-out infinite;
}

.orb-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: orbRotate 20s linear infinite;
}

.symbol {
    position: absolute;
    color: var(--neon-blue);
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--glow-blue);
    animation: symbolPulse 3s ease-in-out infinite;
}

.symbol-1 { top: 10%; left: 10%; animation-delay: 0s; }
.symbol-2 { top: 10%; right: 10%; animation-delay: 0.75s; }
.symbol-3 { bottom: 10%; left: 10%; animation-delay: 1.5s; }
.symbol-4 { bottom: 10%; right: 10%; animation-delay: 2.25s; }

/* Wizard Silhouette */
.wizard-silhouette {
    position: absolute;
    right: 10%;
    bottom: 10%;
    z-index: 1;
}

.wizard-figure {
    width: 150px;
    height: 200px;
    position: relative;
}

.wizard-hood {
    width: 80px;
    height: 60px;
    background: linear-gradient(45deg, #000, #1a1a1a);
    border-radius: 50% 50% 0 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.wizard-body {
    width: 60px;
    height: 120px;
    background: linear-gradient(45deg, #000, #1a1a1a);
    border-radius: 30px;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.wizard-arms {
    width: 100px;
    height: 20px;
    background: linear-gradient(45deg, #000, #1a1a1a);
    border-radius: 10px;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: var(--text-light);
    box-shadow: 0 0 20px var(--glow-blue);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 20px var(--glow-pink);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--glow-blue);
}

.cta-button.secondary:hover {
    background: var(--neon-pink);
    box-shadow: 0 10px 30px var(--glow-pink);
}

.cta-button.tertiary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px var(--glow-blue);
}

.cta-button.tertiary:hover {
    background: var(--neon-blue);
    box-shadow: 0 10px 30px var(--glow-blue);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature {
    background: rgba(138, 43, 226, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glow-purple);
    border-color: var(--neon-purple);
}

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

.feature h3 {
    font-family: 'Cinzel', serif;
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
}

/* Make the whole feature card clickable without affecting styling */
.feature-link {
    display: block;
    height: 100%;
    width: 100%;
    color: inherit;
    text-decoration: none;
    
}

.feature-link:visited {
    color: inherit;
}

.feature-link:hover, .feature-link:focus {
    box-shadow: 0 0 30px var(--glow-blue), 0 10px 30px var(--glow-purple);
    border-color: var(--neon-blue);
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

/* Prevent child elements from inheriting link color/underline */
.feature-link h3, .feature-link p, .feature-link .feature-icon {
    color: inherit;
    text-decoration: none;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glow-purple);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image,
.gallery-item:hover .gallery-video {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: var(--text-light);
}

.gallery-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.placeholder-orb {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px var(--glow-blue);
    animation: pulse 2s ease-in-out infinite;
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px var(--glow-blue);
}

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

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--glow-blue);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--glow-blue);
}

/* Social Section */
.social-section {
    padding: 4rem 0;
}

.social-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.social-text {
    margin-bottom: 3rem;
}

.social-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 50px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--glow-purple);
    border-color: var(--neon-blue);
}

.social-button.telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
}

.social-button.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.4);
}

.social-button.bot:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 30px var(--glow-blue);
}

.button-icon {
    font-size: 1.2rem;
}

.button-text {
    font-family: 'Inter', sans-serif;
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

@keyframes orbGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

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

@keyframes symbolPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .wizard-silhouette {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .mystical-orb {
        width: 150px;
        height: 150px;
    }
    
    .container {
        padding: 0 1rem;
    }
} 