:root {
    --primary-color: #2a1b3d;
    --accent-color: #7e72f2;
    --secondary-accent: #ff6b6b;
    --glow-color: rgba(126, 114, 242, 0.5);
    --text-color: #ffffff;
    --gradient-1: linear-gradient(135deg, #2a1b3d 0%, #1a1025 100%);
    --gradient-2: linear-gradient(45deg, rgba(126, 114, 242, 0.15) 0%, rgba(255, 107, 107, 0.15) 100%);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-1);
    color: var(--text-color);
    line-height: 1.6;
}

.crystal-bg {
    min-height: 100vh;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        #1a1025
    );
    position: relative;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glow-text {
    color: var(--text-color);
    text-shadow: 0 0 10px var(--glow-color);
    margin-bottom: 1.5rem;
}

.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.partner-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--glow-color));
}

.glow-link {
    color: var(--accent-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.glow-link:hover {
    text-shadow: 0 0 8px var(--glow-color);
}

.crystal-border {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url('../images/crystal-border.png');
    background-size: cover;
    background-position: center;
    pointer-events: none;
    opacity: 0.6;
}

/* Add a subtle animation to the crystals */
@keyframes crystalGlow {
    0% { opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { opacity: 0.6; }
}

.crystal-border {
    animation: crystalGlow 3s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .crystal-border {
        height: 100px;
    }
} 

/* Navigation Styles */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(42, 27, 61, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(126, 114, 242, 0.2);
    margin-bottom: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--glow-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(42, 27, 61, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    padding: 0.5rem 1rem;
    display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(42, 27, 61, 0.95);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        background: none;
        box-shadow: none;
        padding-left: 1rem;
    }
} 

/* Hero Section */
.hero {
    min-height: 60vh;
    padding: 2rem 0;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-2);
    backdrop-filter: blur(10px);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-crystals.jpg') center/cover;
    opacity: 0.1;
    animation: slowZoom 20s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    color: var(--text-color);
    background: rgba(42, 27, 61, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero .subtitle {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Guide Grid */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.guide-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 15px;
}

.guide-card:hover::before {
    opacity: 1;
}

.guide-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.guide-card:hover img {
    transform: scale(1.05);
}

.guide-card h3 {
    font-size: 1.4rem;
    margin: 1.5rem 1.5rem 1rem;
    color: var(--accent-color);
}

.guide-card p {
    margin: 0 1.5rem 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.guide-card .glow-link {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 25px;
}

.guide-card .glow-link:hover {
    background: rgba(126, 114, 242, 0.1);
}

/* Section Styling */
section {
    margin: 2rem 0;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 10px var(--glow-color),
                     0 0 20px var(--glow-color),
                     0 0 30px var(--glow-color);
    }
    to {
        text-shadow: 0 0 15px var(--glow-color),
                     0 0 25px var(--glow-color),
                     0 0 35px var(--glow-color);
    }
}

/* Latest Articles Section */
.latest-articles {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 20px;
    margin: 4rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    section {
        margin: 2rem 0;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .latest-articles {
        padding: 2rem 1rem;
    }
} 

/* Floating Elements Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: relative;
    animation: bounce 2s infinite;
}

/* New Animations */
@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(126, 114, 242, 0.5);
    }
    100% {
        text-shadow: 0 0 40px rgba(126, 114, 242, 0.8);
    }
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Enhanced Section Transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glass Cards Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Ad Container Styles */
.ad-container {
    margin: 2rem auto;
    max-width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    transition: opacity 0.3s ease;
}

.ad-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.ad-unit {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive ad containers */
@media (max-width: 768px) {
    .ad-container {
        margin: 1.5rem auto;
        padding: 0.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(42, 27, 61, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(126, 114, 242, 0.2);
    padding: 1rem;
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-consent.active {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--accent-color);
    color: white;
}

.cookie-btn.settings {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Styles */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.cookie-modal.active {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 600px;
    padding: 2rem;
}

.cookie-options {
    margin: 2rem 0;
}

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.cookie-option p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Image Optimization Styles */
.guide-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Add loading animation for images */
@keyframes imageLoad {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

img[loading="lazy"] {
    animation: imageLoad 0.5s ease forwards;
}

/* Footer Styles */
.site-footer {
    position: relative;
    z-index: 10;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p, .footer-section ul {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 2rem;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--secondary-accent);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
}

/* Article Grid Styles */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.article-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(126, 114, 242, 0.2);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(126, 114, 242, 0.2);
}

.article-card h3 {
    font-size: 1.4rem;
    margin: 1.5rem 1.5rem 1rem;
    color: var(--accent-color);
}

.article-card p {
    margin: 0 1.5rem 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.article-card .glow-link {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 25px;
}

.article-card .glow-link:hover {
    background: rgba(126, 114, 242, 0.1);
}

.tutorial-content {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 1200px;
}

.tutorial-section {
    opacity: 1;
    margin-bottom: 3rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
    margin: 1rem 0;
}

.ebook-offer {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem auto;
    text-align: center;
    max-width: 800px;
}

.ebook-offer h2 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.ebook-offer p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ebook-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.ebook-link:hover {
    background: var(--secondary-accent);
    text-shadow: 0 0 8px var(--glow-color);
}

.tutorial-navigation .prev-next-links a {
    display: inline-block;
    margin: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.tutorial-navigation .prev-next-links a:hover {
    background: var(--secondary-accent);
    text-shadow: 0 0 8px var(--glow-color);
}

