:root {
    --primary-color: #ff0000;
    --secondary-color: #ff3232;
    --background-dark: #0a0a0a;
    --card-background: #151515;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-color: #ff1414;
    --hover-color: #ff6666;
    --modal-background: rgba(10, 10, 10, 0.95);
    --card-bg: #151515;
    --border-color: #333;
    --bg-color: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.header-logo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 10px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.5rem;
}

.hack-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.zero-text {
    color: var(--text-primary);
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Header */
header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)),
                url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding-top: 60px;
}

.welcome-text {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    letter-spacing: 2px;
    animation: float 6s ease-in-out infinite;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.hub-text {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Categories Section */
.categories {
    padding: 6rem 2rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card, a.card {
    background: linear-gradient(145deg, var(--card-background), #1a1a1a);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card::before, a.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 0, 0, 0.1),
        transparent
    );
    transition: 0.5s;
}

.card:hover::before, a.card:hover::before {
    left: 100%;
}

.card:hover, a.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.card:hover i {
    color: var(--secondary-color);
    animation: glow 3s infinite;
}

.card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Guides Section */
.guides {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--background-dark), rgba(255, 0, 0, 0.05));
}

.guides h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.guides-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-card {
    background: linear-gradient(145deg, var(--card-background), #1a1a1a);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out forwards;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.guide-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.guide-card ul {
    list-style: none;
}

.guide-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.guide-card ul li:hover {
    color: var(--text-primary);
}

.guide-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Guides Header */
.guides-header {
    padding: 0;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 1;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.guides-header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.guides-header h1 {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: 'Share Tech Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-color);
}

.guides-header p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.content-container {
    position: relative;
    z-index: 1;
    padding-top: 4rem;
}

.section-header {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-color);
}

/* Centered Grid */
.centered-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .guides-header {
        height: 50vh;
    }

    .guides-header h1 {
        font-size: 2.5rem;
    }

    .guides-header p {
        font-size: 1.1rem;
    }

    .content-container {
        padding-top: 3rem;
    }

    .section-header {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Tools Section */
.tools {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, transparent, rgba(255, 0, 0, 0.05));
}

.tools h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    background: linear-gradient(145deg, var(--card-background), #1a1a1a);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 0, 0.2);
    animation: fadeIn 0.6s ease-out forwards;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.tool-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tool-card:hover i {
    animation: glowRed 3s infinite;
}

.tool-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.tool-card p {
    color: var(--text-secondary);
}

/* Resources Section */
.resources {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--background-dark), rgba(255, 0, 0, 0.05));
}

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

.resource-category {
    margin-bottom: 4rem;
}

.resource-category h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    position: relative;
    padding-left: 1rem;
}

.resource-category h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: linear-gradient(145deg, var(--card-background), #1a1a1a);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 0, 0, 0.1),
        transparent
    );
    transition: 0.5s;
}

.resource-card:hover::before {
    left: 100%;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
}

.resource-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.resource-card:hover i {
    animation: glowRed 2s infinite;
}

.resource-card h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.resource-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: 0.5s;
    z-index: -1;
}

.resource-link:hover::before {
    left: 0;
}

.resource-link:hover {
    color: var(--background-dark);
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

/* Products Page Styles */
.products-container {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--bg-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    position: relative;
    overflow: hidden;
    background: var(--bg-color);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
}

.product-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.product-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Share Tech Mono', monospace;
    margin-top: auto;
}

.product-link:hover {
    color: var(--background-dark);
}

.product-link i {
    font-size: 1.1rem;
}

/* Guides Page Styles */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.guide-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-color);
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.guide-info {
    padding: 1.5rem;
    text-align: center;
}

.guide-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.guide-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.guide-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guide-link:hover {
    color: var(--background-dark);
}

/* Projects Grid Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-card h3 i {
    color: var(--accent-color);
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .guides-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 1rem;
        gap: 1rem;
    }

    .guide-card,
    .project-card {
        margin-bottom: 1rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 1rem;
        gap: 1rem;
    }

    .product-info h3 {
        font-size: 1.3rem;
    }

    .product-link {
        padding: 0.6rem 1.2rem;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .product-card {
        background: var(--card-bg-dark, #1a1a1a);
        border-color: var(--border-color-dark, #333);
    }

    .product-info h3 {
        color: var(--text-primary-dark, #fff);
    }

    .product-info p {
        color: var(--text-secondary-dark, #ccc);
    }
}

/* Explorer Actions */
.explorer-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.explorer-search {
    flex: 1;
}

.explorer-search input {
    width: 100%;
}

.download-all-btn {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s;
}

.download-all-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
    color: var(--text-primary);
}

.download-all-btn i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}

.modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.active {
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: var(--modal-background);
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 1000px;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

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

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.modal-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.modal-section ul {
    list-style: none;
}

.modal-section ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.modal-section ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--card-background);
    padding: 4rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    animation: fadeIn 0.6s ease-out forwards;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 0, 0, 0.1);
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1) translateY(-10px); }
    50% { transform: scale(1.05) translateY(-10px); }
    100% { transform: scale(1) translateY(-10px); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes glow {
    0% { text-shadow: 0 0 5px var(--primary-color); }
    50% { text-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--secondary-color); }
    100% { text-shadow: 0 0 5px var(--primary-color); }
}

@keyframes glowRed {
    0% { text-shadow: 0 0 5px var(--primary-color); }
    50% { text-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--secondary-color); }
    100% { text-shadow: 0 0 5px var(--primary-color); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--card-background);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

/* General Section Headers */
h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Centered Text */
.text-center {
    text-align: center;
}

/* Centered Grid */
.centered-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Updated Guide Card Styles */
.guide-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.guide-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.guide-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-info h3 i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.guide-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .centered-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .centered-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .guide-card {
        padding: 1.5rem;
    }
}

/* Device Category Links */
.device-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.device-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.device-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.device-category i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.device-category h3 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
}

.device-category p {
    margin: 0;
    opacity: 0.8;
}
