:root {
    --primary: #00f2ff;
    --primary-alt: #7000ff;
    --dark: #050508;
    --darker: #020203;
    --text: #e0e0e0;
    --glass-bg: rgba(10, 10, 15, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(15px);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--darker);
    color: var(--text);
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Noise Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.05;
    z-index: 9998;
    pointer-events: none;
}

/* Glassmorphism Utility */
@keyframes borderGlow {
    0% { border-color: var(--glass-border); box-shadow: 0 0 5px rgba(0, 242, 255, 0.2); }
    50% { border-color: var(--primary); box-shadow: 0 0 20px rgba(0, 242, 255, 0.4); }
    100% { border-color: var(--glass-border); box-shadow: 0 0 5px rgba(0, 242, 255, 0.2); }
}

/* Scanlines Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.1;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 242, 255, 0.05),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.glass-panel:hover::after {
    left: 100%;
    top: 100%;
}

/* Header & Nav */
header {
    height: 80px;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
    cursor: pointer;
    direction: ltr; /* Ensure VIGI comes before GAMES */
}

.vg-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    color: var(--darker);
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.4rem;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
    text-shadow: none;
}

.brand-text {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 
        0 0 5px rgba(0, 242, 255, 0.5),
        0 0 10px rgba(0, 242, 255, 0.3);
}

.brand-text .accent {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.7);
}

/* Hero Section */
.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 7rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: relative;
    direction: ltr;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 
        0 0 10px rgba(0, 242, 255, 0.8),
        0 0 20px rgba(0, 242, 255, 0.4);
}

.hero h1::before,
.hero h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
}

.hero h1::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 9999px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.hero h1::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(62px, 9999px, 42px, 0); }
    40% { clip: rect(16px, 9999px, 78px, 0); }
    60% { clip: rect(58px, 9999px, 12px, 0); }
    80% { clip: rect(85px, 9999px, 33px, 0); }
    100% { clip: rect(2px, 9999px, 64px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(30px, 9999px, 20px, 0); }
    40% { clip: rect(10px, 9999px, 40px, 0); }
    60% { clip: rect(80px, 9999px, 60px, 0); }
    80% { clip: rect(40px, 9999px, 80px, 0); }
    100% { clip: rect(0px, 9999px, 10px, 0); }
}

@keyframes neonPulse {
    from { filter: drop-shadow(0 0 5px var(--primary)); }
    to { filter: drop-shadow(0 0 20px var(--primary)); }
}

.highlight {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(to right, var(--primary), var(--primary-alt));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.6));
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0%, var(--darker) 100%),
        radial-gradient(circle at 20% 30%, rgba(112, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 242, 255, 0.15) 0%, transparent 50%);
    z-index: 1;
}

/* Projects Grid */
.project-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #000;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
    cursor: pointer;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.project-image-container:hover .slider-arrow {
    opacity: 1;
    visibility: visible;
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--darker);
    box-shadow: 0 0 15px var(--primary);
}

.arrow-prev { left: 15px; }
.arrow-next { right: 15px; }

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.project-card, .news-card, .team-card {
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover, .news-card:hover, .team-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
    transform: translateY(-10px) scale(1.02);
}

/* Team Section Final - Balanced & Professional */
.team-section {
    padding: 150px 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.03) 0%, transparent 70%);
}

.team-header {
    margin-bottom: 80px;
    text-align: center; /* Centered for balance */
}

.team-title-wrap {
    display: inline-block;
    position: relative;
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 3.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.title-underline {
    width: 120px; /* Wider underline */
    height: 4px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    border-radius: 2px;
    margin: 0 auto; /* Center underline */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center; /* Center the cards */
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    position: relative;
    padding: 50px 30px;
    background: #15151b; /* Even brighter background for better visibility */
    border: 2px solid rgba(0, 242, 255, 0.3); /* Thicker, brighter border */
    border-radius: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 1 !important; /* Force full opacity */
    backface-visibility: hidden; /* Sharpen text/images */
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0); /* Hardware acceleration for sharpness */
}

.team-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
    background: #1a1a22;
    transform: translateY(-10px);
}

.member-img-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 35px;
    z-index: 5;
}

/* Neon Ring - Solid & Sharp */
.member-img-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: transparent;
    border: 3px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    z-index: 1;
}

.member-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #15151b;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    filter: brightness(1.2) contrast(1.1); /* High pop */
}

.team-card:hover .member-img {
    transform: scale(1.05);
}

.member-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #ffffff; /* Pure white for clarity */
    margin-bottom: 12px;
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
    z-index: 5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.team-card:hover .member-name {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
}

.member-role {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    opacity: 1; /* Full opacity for clarity */
    transition: all 0.3s;
    position: relative;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card:hover .member-role {
    opacity: 1;
    letter-spacing: 1px;
}

.team-card .social-links {
    justify-content: center;
    margin-top: 25px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.team-card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

/* Animated Background Shapes */
.floating-shape {
    display: none; /* Removed as requested */
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: -10%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-alt);
    bottom: 10%;
    right: -5%;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

.admin-link {
    background: linear-gradient(45deg, var(--primary), var(--primary-alt));
    padding: 8px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
}

.admin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(112, 0, 255, 0.4);
    color: white !important;
}

/* Cyber Buttons */
.btn-cyber {
    position: relative;
    padding: 15px 40px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    background: transparent;
    border: none;
    cursor: pointer;
    overflow: hidden;
    display: inline-block;
    transition: var(--transition);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    background: var(--primary-alt);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}

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

.btn-cyber:hover::before {
    transform: translateX(100%);
}

.btn-cyber:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary);
    background: var(--primary);
    color: var(--darker);
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Decorative Tech Elements */
.tech-decor {
    position: fixed;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: var(--primary);
    opacity: 0.3;
    pointer-events: none;
    z-index: 100;
    text-transform: uppercase;
}

.decor-tl { top: 20px; left: 20px; }
.decor-tr { top: 20px; right: 20px; }
.decor-bl { bottom: 20px; left: 20px; }
.decor-br { bottom: 20px; right: 20px; }

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0f0f1a 100%);
}

/* Enhanced Hero Grid */
.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 242, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center;
    transform: perspective(1000px) rotateX(60deg) translateY(-20%);
    top: -50%;
    opacity: 0.2;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    from { background-position: 0 0; }
    to { background-position: 0 50px; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.btn {
    font-family: 'Orbitron', sans-serif;
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-alt));
    color: white;
    box-shadow: 0 5px 20px rgba(0, 242, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.5);
}

/* News Section Refined - Clear & Sharp */
.news-section {
    padding: 100px 0;
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-card {
    padding: 35px;
    background: #15151b; /* Brighter background */
    border: 2px solid rgba(0, 242, 255, 0.2); /* Thicker border */
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 1 !important; /* Force full opacity for clarity */
    backface-visibility: hidden;
    transform: translateZ(0);
}

.news-card:hover {
    border-color: var(--primary);
    background: #15151b;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 242, 255, 0.15);
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    display: block;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
}

.news-excerpt {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 10px var(--primary);
}

.error-msg {
    text-align: center;
    padding: 100px;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
}

.page-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #101015;
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
    transform: scale(1.1);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--darker);
    box-shadow: 0 0 20px var(--primary);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.projects-section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 70px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.project-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.project-info {
    padding: 30px;
}

.project-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.status-completed { background: rgba(0, 255, 136, 0.15); color: var(--success); }
.status-inprogress { background: rgba(255, 204, 0, 0.15); color: var(--warning); }
.status-cancelled { background: rgba(255, 68, 68, 0.15); color: var(--danger); }

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-desc {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Admin Panel Styles */
.admin-container {
    margin-top: 120px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.admin-dashboard {
    display: none;
    flex-direction: column;
}

.admin-dashboard.active {
    display: flex;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
    padding-bottom: 15px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
    border-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    background: #0a0a0c;
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
}

.project-list-admin {
    margin-top: 40px;
}

.admin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #111;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #222;
    transition: var(--transition);
}

.admin-item:hover {
    border-color: var(--primary);
    background: #16161a;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.admin-actions button {
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 6px;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.edit-btn { background: var(--warning); color: #000; }
.edit-btn:hover { background: #e6b800; transform: translateY(-2px); }

.delete-btn { background: var(--danger); color: #fff; }
.delete-btn:hover { background: #e63e3e; transform: translateY(-2px); }

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success);
    color: #000;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    transform: translateY(100px);
    transition: transform 0.5s ease;
    z-index: 2000;
}

.notification.show {
    transform: translateY(0);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 50px;
}

.contact-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.info-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.info-text p {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--darker);
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--primary);
}

.contact-form-container {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 242, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

/* Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
    background: var(--darker);
}

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

.footer-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animations */
.reveal-text {
    overflow: hidden;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* General */
    .section-title {
        font-size: 2rem;
    }

    /* Header & Navigation */
    nav ul {
        display: none; /* Hide standard menu on mobile */
    }

    .mobile-menu-btn {
        display: block !important;
        font-size: 1.5rem;
        color: #fff;
        cursor: pointer;
    }

    /* Hero */
    .hero {
        height: 80vh;
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Grid Layouts */
    .news-grid, .projects-grid, .team-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .ad-banner {
        height: 120px !important;
    }

    /* Team Section */
    .team-card {
        max-width: 350px;
        margin: 0 auto;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Admin Panel */
    .admin-container {
        padding: 20px;
        margin-top: 80px;
    }

    .admin-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        position: relative;
    }

    .tab-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .admin-item {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
        padding: 15px !important;
    }

    .admin-actions {
        width: 100%;
        justify-content: flex-start !important;
        gap: 10px;
    }

    .admin-actions .btn {
        flex: 1;
        text-align: center;
        padding: 10px !important;
    }

    /* Tabs scroll indicator */
    .admin-tabs::after {
        content: '← بکشید';
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.7rem;
        color: var(--primary);
        opacity: 0.5;
        pointer-events: none;
    }

    /* News Detail Mobile */
    .news-detail-container {
        padding-top: 80px;
    }

    .news-hero-wrapper {
        height: 300px !important;
    }

    .news-hero-overlay {
        padding: 30px 20px !important;
    }

    .news-title-large {
        font-size: 1.8rem !important;
    }

    .news-content-body {
        font-size: 1rem !important;
        line-height: 1.8 !important;
    }

    .news-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .back-nav {
        margin-bottom: 20px !important;
    }

    .back-btn {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .vg-box {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .btn-cyber {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .news-gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .news-hero-wrapper {
        height: 200px !important;
    }

    .news-title-large {
        font-size: 1.4rem !important;
    }
}

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mobile-overlay.active {
    display: flex;
}

.mobile-overlay a {
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    transition: 0.3s;
}

.mobile-overlay a:hover {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary);
}

.close-mobile {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}
