:root {
    --primary: #4361EE;
    --secondary: #3A0CA3;
    --accent: #F72585;
    --background: #f8f9fd;
    --text: #2B2D42;
    --light-text: #6C757D;
    --card-bg: #ffffff;
    --glass: rgba(255, 255, 255, 0.15);
    --glass-hover: rgba(255, 255, 255, 0.25);
    --nav-height: 70px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background effects */
.background-shapes {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    background: rgba(67, 97, 238, 0.15);
    width: 600px;
    height: 600px;
    top: -250px;
    left: -250px;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    background: rgba(58, 12, 163, 0.1);
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -100px;
    animation: float 18s ease-in-out infinite alternate;
}

.shape-3 {
    background: rgba(247, 37, 133, 0.08);
    width: 400px;
    height: 400px;
    top: 40%;
    left: 30%;
    animation: float 20s ease-in-out infinite;
}

.shape-4 {
    background: rgba(67, 97, 238, 0.1);
    width: 350px;
    height: 350px;
    top: 15%;
    right: 10%;
    animation: float 22s ease-in-out infinite alternate;
}

.shape-5 {
    background: rgba(247, 37, 133, 0.08);
    width: 250px;
    height: 250px;
    bottom: 15%;
    left: 15%;
    animation: float 25s ease-in-out infinite;
}

.floating-circles .circle {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    animation: floatCircle 30s linear infinite;
}

.circle:nth-child(1) { width: 400px; height: 400px; left: 5%; animation-delay: 0s; }
.circle:nth-child(2) { width: 300px; height: 300px; left: 40%; animation-delay: -8s; }
.circle:nth-child(3) { width: 350px; height: 350px; left: 75%; animation-delay: -16s; }

/* Navigation */
.top-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.nav-logo i {
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.nav-links a:hover, 
.nav-links a.active {
    background: var(--glass);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Container and layout */
.container {
    max-width: 1200px;
    margin: calc(var(--nav-height) + 2rem) auto 2rem;
    padding: 0 2rem;
}

.content-box {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: -1;
}

/* Hero section */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

h1 {
    font-size: 3.75rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.accent {
    position: relative;
    display: inline-block;
}

.accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(247, 37, 133, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-text {
    font-size: 1.5rem;
    color: var(--light-text);
    margin: 1.5rem 0 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.stat-item:nth-child(1) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.4s;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-item {
    background: var(--background);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-item:nth-child(1) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.5s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.7s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(67, 97, 238, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(247, 37, 133, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.feature-icon i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin: 0 0 1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA section */
.cta-section {
    text-align: center;
    margin-top: 4rem;
    position: relative;
}

.create-button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.create-button::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.7s;
}

.create-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

.create-button:hover::before {
    left: 100%;
}

.cta-subtext {
    color: var(--light-text);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: -1;
    animation: pulse 2s infinite;
}

/* Ad Container Styling */
.ad-container {
    width: 100%;
    margin: 2rem 0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

.ad-horizontal {
    height: auto;
    min-height: 120px;
}

.sidebar-ad-container {
    width: 300px;
    min-height: 600px;
    margin-right: 2rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
}

.footer-ad-container {
    width: 100%;
    max-width: 728px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
}

.ad-label {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 0.7rem;
    color: var(--light-text);
    opacity: 0.7;
}

/* Hide sidebar ads on mobile */
@media (max-width: 992px) {
    .desktop-only {
        display: none;
    }
}

/* New secondary button for premium */
.secondary-button {
    background: transparent;
    border: 1px solid rgba(67, 97, 238, 0.3);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.secondary-button:hover {
    background: rgba(67, 97, 238, 0.05);
    transform: translateY(-2px);
}

.secondary-button i {
    color: var(--accent);
}

/* 404 page button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #6C63FF, #4361EE);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.cta-button i {
    font-size: 1.2em;
}

/* Adblock notice */
.adblock-notice {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(239, 68, 68, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 90%;
    width: 400px;
    animation: slideUp 0.5s ease;
}

.adblock-notice.show {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.adblock-notice-content {
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
}

.adblock-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.adblock-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Adblock modal */
.adblock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.adblock-modal {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 90%;
    width: 550px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.4s ease;
    position: relative;
    overflow: hidden;
}

.adblock-icon-wrapper {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
}

.adblock-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
    animation: pulse 2s infinite;
}

.adblock-modal h2 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.adblock-modal p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.adblock-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.step i {
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #4F46E5;
}

.reload-button {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.reload-button .button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reload-button .button-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7C3AED, #4F46E5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reload-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
}

.reload-button:hover .button-background {
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 640px) {
    .adblock-modal {
        padding: 2rem;
        width: 90%;
    }

    .adblock-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .adblock-icon-wrapper i {
        font-size: 2rem;
    }

    .adblock-modal h2 {
        font-size: 1.5rem;
    }

    .adblock-modal p {
        font-size: 1rem;
    }

    .step {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatCircle {
    0% { transform: translateY(100vh); opacity: 0; }
    30%, 70% { opacity: 0.3; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50%, 100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    .content-box {
        padding: 2.5rem;
    }
    
    .hero-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .content-box {
        padding: 2rem 1.5rem;
    }
    
    .feature-item {
        padding: 2rem 1.5rem;
    }
    
    .nav-links span {
        display: none;
    }
    
    .nav-links a {
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .create-button {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
    
    .content-box {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}
