
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=VT323&display=swap');

:root {
    --primary-font: 'Montserrat', sans-serif;
    --code-font: 'VT323', monospace;
    --primary-color: #FFDA63;
    --secondary-color: #E68A00;
    --dark-bg: #0d0d0d;
    --header-footer-bg: #1a1a1a;
    --text-color-light: #e0e0e0;
    --text-color-muted: #999;
    --glow-color-primary: #FFDA63;
    --glow-color-secondary: #FFEB3B;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    text-align: right;
    line-height: 1.7;
    letter-spacing: 0.3px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
}

a:hover {
    color: var(--glow-color-secondary);
    text-shadow: 0 0 8px var(--glow-color-primary), 0 0 15px var(--glow-color-primary);
}

h1, h2, h3, h4 {
    font-family: var(--primary-font);
    line-height: 1.3;
    margin-bottom: 1rem;
}

header {
    background-color: var(--header-footer-bg);
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 0 6px var(--primary-color));
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.1);
}

#brand-name {
    font-family: var(--code-font);
    font-size: clamp(1.8em, 6vw, 3em);
    color: var(--primary-color);
    animation: flicker-glow 2s infinite alternate;
    letter-spacing: 1px;
    display: inline-block;
    padding: 0.2em 0.5em;
}

#brand-name span {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

#brand-name span:hover {
    transform: scale(1.15);
    color: var(--glow-color-secondary);
    text-shadow: 0 0 15px var(--primary-color);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

header nav ul li a {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color-light);
    padding-bottom: 5px;
    position: relative;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

header nav ul li a:hover::after {
    width: 100%;
}

@keyframes flicker-glow {
    0%, 100% { opacity: 0.9; text-shadow: 0 0 5px var(--secondary-color), 0 0 10px var(--secondary-color), 0 0 15px var(--primary-color); }
    50% { opacity: 1; text-shadow: 0 0 8px var(--primary-color), 0 0 15px var(--primary-color), 0 0 20px var(--glow-color-secondary); }
}


main {
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

h1 { 
    color: var(--text-color-light);
    text-align: center;
    margin: 20px 0 10px;
    font-size: 2.5em;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

#searchInput,
#categoryFilter {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    background: var(--header-footer-bg);
    color: var(--text-color-light);
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

#searchInput::placeholder {
    color: var(--text-color-muted);
}

#categoryFilter {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 35px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFDA63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 16px;
}

#categoryFilter option {
    background-color: var(--header-footer-bg);
    color: var(--text-color-light);
    padding: 10px;
}

#searchInput:focus,
#categoryFilter:focus {
    border-color: var(--glow-color-secondary);
    box-shadow: 0 0 15px rgba(255, 218, 99, 0.4);
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: var(--header-footer-bg);
    border: 1px solid var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 218, 99, 0.2);
    border-color: var(--glow-color-secondary);
}

.card h3 {
    margin: 0 0 5px 0;
    color: var(--text-color-light);
    font-size: 1.4em;
    word-break: break-all;
    font-weight: 700;
}

.card p.desc-text {
    font-size: 0.9em;
    color: var(--text-color-muted);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.card .price-tag {
    color: var(--primary-color);
    font-size: 1.1em;
    font-weight: bold;
    margin-top: auto;
    text-shadow: 0 0 5px rgba(255, 218, 99, 0.3);
}

.card a {
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pagination {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pagination button {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    margin: 0 8px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 10px var(--primary-color);
}

.pagination button:disabled {
    border-color: var(--text-color-muted);
    color: var(--text-color-muted);
    cursor: not-allowed;
}

.pagination .current-page {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    font-weight: bold;
    box-shadow: 0 0 10px var(--primary-color);
}

        footer {
            background-color: #1a1a1a;
            border-top: 2px solid #E68A00;
            text-align: center;
            padding: 1.5em 1em;
            font-size: 0.9em;
            color: #ccc;
            margin-top: 4em;
        }

@media only screen and (max-width: 992px) {
    header nav ul {
        gap: 15px;
    }
    header nav ul li a {
        font-size: 1rem;
    }
    .domain-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    header nav {
        margin-top: 10px;
    }
    header nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    #brand-name {
        font-size: clamp(1.8em, 8vw, 3em);
    }
    
    .controls {
        flex-direction: column;
        align-items: stretch;
    }
    #searchInput,
    #categoryFilter {
        width: 100%;
    }
    .domain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 480px) {
    #brand-name {
        font-size: clamp(1.5em, 10vw, 2.5em);
        letter-spacing: 1px;
    }
    .brand-logo {
        width: 40px;
    }
    .domain-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .card {
        padding: 15px;
        min-height: 120px;
    }
    .pagination button {
        padding: 8px 15px;
        margin: 0 4px;
    }
}

.faq-wrapper {
    background-color: var(--dark-bg) !important; 
    width: 100%;
}

.faq-section {
    margin-top: 60px;
    padding: 40px 20px;
    background-color: #0d0d0d !important; 
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 218, 99, 0.1);
    
    color: var(--text-color-light) !important;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 218, 99, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.faq-title {
    text-align: center;
    color: var(--primary-color) !important;
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 218, 99, 0.5);
    position: relative;
    z-index: 1;
}

.faq-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    box-shadow: 0 0 10px var(--secondary-color);
    border-radius: 2px;
}

details {
    background: #111111 !important; 
    border: 1px solid rgba(255, 218, 99, 0.15);
    margin-bottom: 15px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

details[open] {
    border-color: var(--primary-color);
    background: #1a1a1a !important; 
    box-shadow: 0 0 20px rgba(255, 218, 99, 0.15), inset 0 0 10px rgba(255, 218, 99, 0.05);
    transform: scale(1.01);
}

summary {
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff !important;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

summary:hover {
    color: var(--primary-color);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    font-size: 0.9em;
    transition: transform 0.3s ease, color 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 218, 99, 0.4));
}

details[open] summary::after {
    transform: rotate(180deg);
    color: var(--glow-color-secondary);
}


details p {
    padding: 0 25px 25px 25px;
    color: #cccccc !important;
    line-height: 1.8;
    font-size: 1rem;
    margin-top: 0;
    border-top: 1px solid rgba(255, 218, 99, 0.1);
    padding-top: 15px;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 1.8rem;
    }
    details {
        margin-bottom: 10px;
    }
    summary {
        padding: 15px;
        font-size: 1rem;
    }
}
