@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
    --primary: #de2630;
    --primary-dark: #b01e26;
    --primary-glow: rgba(222, 38, 48, 0.4);
    --bg-dark: #0f0f13;
    --bg-card: #1a1a20;
    --bg-card-hover: #22222a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border: #333333;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    background-image:
        linear-gradient(rgba(15, 15, 19, 0.95), rgba(15, 15, 19, 0.95)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23de2630' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.25rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin: 0 auto 3rem;
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(222, 38, 48, 0.2);
    position: relative;
    display: table;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Header */
header {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 19, 0.85);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.site-title span {
    color: var(--primary);
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.main-nav a:hover {
    color: white;
}

.main-nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
}

.lang-switch button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem;
    transition: var(--transition);
}

.lang-switch button.active,
.lang-switch button:hover {
    color: var(--primary);
}

.lang-switch .divider {
    color: var(--text-muted);
    opacity: 0.5;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Shapes */
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        var(--primary-glow) 0%,
        transparent 70%
    );
    opacity: 0.3;
    z-index: -1;
    filter: blur(80px);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(30, 30, 200, 0.1) 0%,
        transparent 70%
    );
    opacity: 0.3;
    z-index: -1;
    filter: blur(80px);
}

.hero .greeting {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero h2 {
    font-size: 1.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero .description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(222, 38, 48, 0.3);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(222, 38, 48, 0.5);
}

/* Skills Grid */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.skill-tag:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: rgba(222, 38, 48, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Projects */
.project-category {
    margin-bottom: 5rem;
}

.project-category h3 {
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: rgba(26, 26, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    backdrop-filter: blur(10px);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(222, 38, 48, 0.05) 100%
    );
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-7px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.card:hover::before {
    opacity: 1;
}

.project-card h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1;
}

.project-card h3 i {
    color: var(--primary);
    font-size: 1.2rem;
}

.project-link {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(222, 38, 48, 0.1);
    border-radius: 50px;
    transition: var(--transition);
    z-index: 1;
}

.project-link:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}

/* Contact */
.contact-section {
    text-align: center;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 10, 12, 0.5) 100%
    );
}

.contact-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 4rem;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.contact-card:hover {
    border-color: var(--primary);
    background: rgba(222, 38, 48, 0.05);
    transform: scale(1.02);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary);
}

/* Footer */
.footer-main {
    margin-top: 0;
    padding: 1rem 0;
    border-top: none;
    background: transparent;
}

/* Products Page */
.products-section {
    padding-top: 3rem;
}

.products-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

/* Plugin Sections */
.plugin-section {
    margin-bottom: 4rem;
}

.plugin-section-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary);
}

.plugin-section-title i {
    font-size: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: rgba(26, 26, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(222, 38, 48, 0.05) 100%
    );
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    width: 70px;
    height: 70px;
    background: rgba(222, 38, 48, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.product-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    z-index: 1;
}

.product-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    z-index: 1;
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    z-index: 1;
}

.product-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.product-meta i {
    color: var(--primary);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(222, 38, 48, 0.3);
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(222, 38, 48, 0.5);
}

.download-btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Enhanced download animations */
@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes checkmarkDraw {
    0% {
        stroke-dasharray: 16 16;
        stroke-dashoffset: 16;
    }
    100% {
        stroke-dasharray: 16 16;
        stroke-dashoffset: 0;
    }
}

@keyframes buttonSuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes progressPulse {
    0% {
        box-shadow: 0 0 5px rgba(222, 38, 48, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(222, 38, 48, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(222, 38, 48, 0.5);
    }
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Verification modal styles */
.verification-step {
    opacity: 0.4;
    transition: all 0.3s ease;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.verification-step.active {
    opacity: 1;
    color: var(--primary);
}

.verification-step.active i {
    animation: iconSpin 1s linear infinite;
}

.verification-step.completed {
    opacity: 1;
    color: #10b981;
}

.verification-step.completed i {
    animation: none;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 1.5rem 0;
    animation: progressPulse 1.5s ease-in-out infinite;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff4757, var(--primary));
    background-size: 200% 100%;
    border-radius: 3px;
    transition: width 0.05s ease;
    width: 0%;
    animation: progressPulse 1.5s ease-in-out infinite;
}

.verification-code {
    font-family: "Courier New", monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: #60a5fa;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.verification-modal {
    background: linear-gradient(135deg, #1a1a20 0%, #2d2d3a 100%);
    border: 2px solid rgba(222, 38, 48, 0.3);
    border-radius: 20px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.verification-icon {
    position: relative;
}

.verification-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(
        circle,
        rgba(222, 38, 48, 0.1) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
    animation: progressPulse 2s ease-in-out infinite;
}

.checkmark-svg {
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: checkmarkDraw 0.8s ease forwards;
}

@keyframes modalShrinkToButton {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.1);
        opacity: 0;
    }
}

.modal-shrinking {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.overlay-fade {
    transition: all 0.8s ease !important;
}

.download-btn i {
    font-size: 1rem;
}

.products-notice {
    background: rgba(222, 38, 48, 0.1);
    border: 1px solid rgba(222, 38, 48, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.products-notice i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.products-notice p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Premium Plugin Styles */
.premium-card {
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: linear-gradient(
        135deg,
        rgba(26, 26, 32, 0.8),
        rgba(45, 45, 58, 0.6)
    );
}

.premium-card::before {
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 215, 0, 0.1) 100%
    );
}

.premium-card:hover {
    border-color: #ffd700;
    box-shadow: 0 15px 30px -10px rgba(255, 215, 0, 0.3);
}

.premium-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a20;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.premium-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a20;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.premium-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 ease;
}

.premium-btn:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.7);
    transform: translateY(-3px) scale(1.02);
}

.premium-btn:hover::before {
    left: 100%;
}

.premium-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.price {
    color: #10b981 !important;
    font-weight: 600;
}

/* Coming Soon Styles */
.coming-soon-card {
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.3);
    background: linear-gradient(
        135deg,
        rgba(26, 26, 32, 0.6),
        rgba(45, 45, 58, 0.4)
    );
    opacity: 0.8;
}

.coming-soon-card::before {
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(96, 165, 250, 0.1) 100%
    );
}

.coming-soon-card:hover {
    border-color: #60a5fa;
    opacity: 1;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.coming-soon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #6b7280, #9ca3af);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Enhanced Modal Animations */
@keyframes modalSlideIn {
    0% {
        transform: translateY(-50px) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Purchase Modal Styles */
.purchase-modal {
    background: linear-gradient(135deg, #1a1a20, #2d2d3a);
    border: 2px solid rgba(222, 38, 48, 0.3);
    border-radius: 20px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Purchase Modal Button Styles */
.purchase-modal-content a,
.purchase-modal-content button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Discord Button */
.purchase-modal-content a[href*="discord"] {
    background: linear-gradient(45deg, #5865f2, #7289da);
    color: white;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.purchase-modal-content a[href*="discord"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.6);
    background: linear-gradient(45deg, #7289da, #5865f2);
}

/* Cancel Button */
.purchase-modal-content button {
    background: linear-gradient(45deg, #64748b, #94a3b8);
    color: white;
    padding: 1.2rem 2rem;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.purchase-modal-content button:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, #94a3b8, #64748b);
}

/* Active nav link */
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    width: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    opacity: 0;
    animation-fill-mode: forwards;
}

.animate-fade-in.visible {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    header {
        padding: 0.75rem 0;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav {
        gap: 1.25rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .lang-switch {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        margin-top: 0.5rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .section {
        padding: 3rem 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1.25rem;
    }

    .contact-card {
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
    }

    .contact-card i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .main-nav {
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .product-icon i {
        font-size: 1.75rem;
    }

    .product-card h3 {
        font-size: 1.3rem;
    }

    .product-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .download-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.85rem;
    }

    .products-notice {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }

    .products-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .plugin-section-title {
        font-size: 1.5rem;
        padding-left: 0.75rem;
    }

    .plugin-section {
        margin-bottom: 2.5rem;
    }

    .premium-badge,
    .coming-soon-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }

    .servers-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .server-card {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }
}

/* Experience Page Styles */
.experience-section {
    padding-top: 3rem;
}

.experience-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.server-card {
    background: rgba(26, 26, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
}

.server-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(222, 38, 48, 0.05) 100%
    );
    opacity: 0;
    transition: var(--transition);
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.server-card:hover::before {
    opacity: 1;
}

.server-icon {
    width: 60px;
    height: 60px;
    background: rgba(222, 38, 48, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    z-index: 1;
}

.server-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.server-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    z-index: 1;
}

.server-role {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    z-index: 1;
}

.stats-section {
    margin-top: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(26, 26, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(222, 38, 48, 0.3);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Custom Project Styles */
.custom-card {
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.3);
    background: linear-gradient(
        135deg,
        rgba(26, 26, 32, 0.8),
        rgba(45, 45, 58, 0.6)
    );
}

.custom-card::before {
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(96, 165, 250, 0.1) 100%
    );
}

.custom-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 15px 30px -10px rgba(96, 165, 250, 0.3);
}

.custom-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.custom-btn {
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    color: white;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.4);
}

.custom-btn:hover {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.6);
    transform: translateY(-2px);
}

/* Clone Form Styles */
.clone-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.clone-form {
    background: rgba(26, 26, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 1rem 1.5rem 1rem 3rem;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(222, 38, 48, 0.2);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.clone-btn {
    white-space: nowrap;
}

.advanced-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.advanced-toggle:hover {
    color: white;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.advanced-options {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.advanced-options.open {
    max-height: 500px;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.option-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.option-checkbox input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.option-checkbox input:checked + .checkmark::after {
    opacity: 1;
}

.depth-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.depth-selector label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.depth-selector select {
    background: #3a3a42;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Progress Section */
.progress-section {
    padding: 2rem 0;
}

.progress-card {
    background: rgba(26, 26, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.progress-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.progress-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.progress-info {
    margin-bottom: 1.5rem;
}

.progress-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff6b6b);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.progress-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.progress-stats i {
    color: var(--primary);
}

.progress-log {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.log-entry {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.8rem;
    font-family: monospace;
}

.log-entry i {
    font-size: 0.75rem;
}

.log-info i { color: #3b82f6; }
.log-success i { color: #10b981; }
.log-warning i { color: #f59e0b; }
.log-error i { color: #ef4444; }

/* Features Section */
.features-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(222, 38, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Projects Card */
.project-card-header {
    margin-bottom: 1rem;
}

.project-card-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1rem;
}

.project-card-header i {
    color: var(--primary);
}

.project-card-body {
    flex: 1;
}

.project-url {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-card .project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.project-card .project-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.project-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.project-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-muted);
}

/* Footer */
.footer-content {
    text-align: center;
    padding: 2rem 0;
}

.footer-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-note {
    font-size: 0.8rem !important;
    opacity: 0.6;
    margin-top: 0.5rem !important;
}

/* Settings Page Styles */
.settings-container {
    max-width: 900px;
    margin: 0 auto;
}

.settings-card {
    background: rgba(26, 26, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.settings-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-header i {
    color: var(--primary);
    font-size: 1.1rem;
}

.settings-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.settings-body {
    padding: 1.5rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.setting-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.setting-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setting-control input[type="text"],
.setting-control input[type="number"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: white;
    font-size: 0.9rem;
    width: 100px;
}

.setting-control input[type="text"] {
    width: 200px;
}

.setting-control.full-width {
    flex: 1;
}

.setting-control.full-width select {
    width: 100%;
}

.setting-control select {
    background: #3a3a42;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: white;
    font-size: 0.9rem;
    min-width: 120px;
    cursor: pointer;
}

.setting-control input:focus,
.setting-control select:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-small {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.btn-small:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-small.danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.btn-small.danger:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    border-radius: 26px;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

/* Settings Actions */
.settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

/* Storage Info */
.storage-info {
    background: rgba(26, 26, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.storage-info h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

.storage-info h4 i {
    color: var(--primary);
}

.storage-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.storage-used {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff6b6b);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.storage-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Projects Page Additional Styles */
.projects-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(26, 26, 32, 0.6);
    border-radius: 12px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    color: white;
    font-size: 0.9rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(222, 38, 48, 0.2);
    border-color: var(--primary);
    color: white;
}

.view-buttons {
    display: flex;
    gap: 0.25rem;
}

.view-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 6px;
}

.view-btn:hover,
.view-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.project-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.project-buttons .download-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
}

.project-buttons .download-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    flex: 0;
}

.project-buttons .download-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* List View */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.list-header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(26, 26, 32, 0.8);
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.list-item {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(26, 26, 32, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    font-size: 0.9rem;
    align-items: center;
}

.list-item:hover {
    background: rgba(222, 38, 48, 0.1);
}

.list-item:last-child {
    border-radius: 0 0 12px 12px;
}

.list-col {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-col.name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.list-col.name i {
    color: var(--primary);
}

.favorite-star {
    color: #ffd700 !important;
    font-size: 0.8rem;
}

.list-col.url {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.list-col.actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Empty Projects */
.empty-projects {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-content i {
    font-size: 5rem;
    color: var(--text-muted);
    opacity: 0.2;
    margin-bottom: 1.5rem;
}

.empty-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.empty-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
    background: rgba(222, 38, 48, 0.2);
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#pageInfo {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Project Modal */
.project-modal {
    max-width: 500px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.modal-body {
    margin-bottom: 0;
}

.project-info {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.info-label {
    color: var(--text-muted);
}

.info-value {
    color: white;
}

a.info-value {
    color: var(--primary);
}

a.info-value:hover {
    text-decoration: underline;
}

.project-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    color: white;
    text-decoration: none;
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.action-card i {
    font-size: 1.25rem;
    color: var(--primary);
}

.action-card.danger {
    border-color: rgba(239, 68, 68, 0.3);
}

.action-card.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.action-card.danger i {
    color: #ef4444;
}

/* Warning Icon */
.warning-icon {
    width: 80px;
    height: 80px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.warning-icon i {
    font-size: 2.5rem;
    color: #ef4444;
}

.danger-btn {
    background: #ef4444 !important;
}

.danger-btn:hover {
    background: #dc2626 !important;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(30, 30, 40, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
    max-width: 400px;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-success i { color: #10b981; }
.notification-error i { color: #ef4444; }
.notification-warning i { color: #f59e0b; }
.notification-info i { color: #3b82f6; }

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

/* Experience Page Styles */
.experience-section {
    padding-top: 3rem;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.experience-card {
    background: rgba(26, 26, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.experience-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(222, 38, 48, 0.05) 100%
    );
    opacity: 0;
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.experience-card:hover::before {
    opacity: 1;
}

.experience-card h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.experience-card .role {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    z-index: 1;
}

.experience-description {
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
    z-index: 1;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .experience-card {
        padding: 1.25rem;
    }
}
