:root {
    --gold-primary: #d4af37;
    --gold-light: #f9e29c;
    --gold-dark: #aa8a2e;
    --bg-black: #000000;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(212, 175, 55, 0.2);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Blueprint Grid */
.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    z-index: -1;
    opacity: 0.3;
}

header {
    text-align: center;
    padding: 80px 20px 40px;
}

header h1 {
    font-size: 2.8rem;
    background: linear-gradient(to right, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.subtitle { color: var(--text-muted); font-size: 1rem; }

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

/* Layout Cards */
.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.layout-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s;
    opacity: 0;
    transform: translateY(20px);
}

.layout-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.layout-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

/* Preview Visuals */
.preview-box {
    height: 200px;
    background: rgba(212, 175, 55, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.skeleton-ui {
    width: 70%;
    height: 100px;
    border: 2px dashed var(--gold-dark);
    border-radius: 10px;
    padding: 10px;
}

.split-view { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.list-view { display: flex; flex-direction: column; gap: 8px; }

.skeleton-block { background: var(--gold-dark); opacity: 0.2; height: 100%; }
.skeleton-line { background: var(--gold-dark); opacity: 0.2; height: 15px; }
.skeleton-line.short { width: 40%; }
.skeleton-line.long { height: 40px; }

.card-content { padding: 25px; }
.card-content h3 { color: var(--gold-light); margin-bottom: 10px; }
.description { color: var(--text-muted); font-size: 0.9rem; }

.specs { display: flex; gap: 15px; margin-top: 20px; }
.spec-tag {
    font-size: 0.7rem;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.back-btn {
    position: absolute;
    top: 40px;
    left: 40px;
    color: var(--gold-primary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-logo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}
