/* ===========================
   Global Styles & Variables
   =========================== */
:root {
    --primary-color: #d66e46;
    --primary-dark: #8f4a2e;
    --secondary-color: #7c3722;
    --accent-color: #ffbe0b;
    --dark-bg: #1a0f0b;
    --card-bg: #3a261d;
    --text-light: #f3e6dd;
    --text-muted: #d8c4b7;
    --gradient-1: linear-gradient(135deg, #d66e46, #8f4a2e);
    --gradient-2: linear-gradient(135deg, #7c3722, #fb5607);
    --gradient-3: linear-gradient(135deg, #ffbe0b, #7c3722);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #1a0f0b 0%, #3a261d 50%, #1a0f0b 100%);
    color: var(--text-light);
    overflow-x: hidden;
}

/* ===========================
   Navigation Header
   =========================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 15, 11, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(214, 110, 70, 0.1);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(214, 110, 70, 0.05), rgba(124, 55, 34, 0.05));
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 8s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 1s; }
.particle:nth-child(3) { left: 50%; top: 40%; animation-delay: 2s; }
.particle:nth-child(4) { left: 80%; top: 60%; animation-delay: 3s; }
.particle:nth-child(5) { left: 90%; top: 30%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(20px); }
    50% { transform: translateY(-60px) translateX(-20px); }
    75% { transform: translateY(-30px) translateX(30px); }
}

.hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #d66e46, #7c3722, #ffbe0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-word {
    display: block;
    animation: fadeInUp 0.8s ease-out backwards;
}

.title-word:nth-child(1) { animation-delay: 0.1s; }
.title-word:nth-child(2) { animation-delay: 0.2s; }
.title-word:nth-child(3) { animation-delay: 0.3s; }
.title-word:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 8px 32px rgba(214, 110, 70, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(214, 110, 70, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-4px);
}

.cta-button.large {
    padding: 1.3rem 3rem;
    font-size: 1.1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animated-cube {
    position: relative;
    width: 250px;
    height: 250px;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: rgba(214, 110, 70, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.cube-face.front { transform: rotateY(0deg) translateZ(125px); }
.cube-face.back { transform: rotateY(180deg) translateZ(125px); }
.cube-face.right { transform: rotateY(90deg) translateZ(125px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(125px); }
.cube-face.top { transform: rotateX(90deg) translateZ(125px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(125px); }

/* ===========================
   Minecraft Skin Section
   =========================== */
.minecraft-skin-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(214, 110, 70, 0.08), rgba(124, 55, 34, 0.05));
    text-align: center;
}

.skin-container {
    max-width: 1200px;
    margin: 0 auto;
}

.skin-header {
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out;
}

.skin-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #d66e46, #7c3722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skin-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.skin-viewer-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    animation: slideInUp 0.8s ease-out;
}

#minecraft-canvas {
    width: 100%;
    max-width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(214, 110, 70, 0.1), rgba(124, 55, 34, 0.05));
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(214, 110, 70, 0.2);
    margin: 0 auto;
    cursor: grab;
}

#minecraft-canvas:active {
    cursor: grabbing;
}

.skin-3d {
    width: 100%;
    max-width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(214, 110, 70, 0.1), rgba(124, 55, 34, 0.05));
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(214, 110, 70, 0.2);
    margin: 0 auto;
    cursor: grab;
    display: block;
}

.play-pause-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(214, 110, 70, 0.9);
    border: 2px solid var(--primary-color);
    color: var(--dark-bg);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 110, 70, 0.4);
    z-index: 10;
}

.play-pause-btn:hover {
    background: rgba(214, 110, 70, 1);
    box-shadow: 0 6px 20px rgba(214, 110, 70, 0.6);
    transform: scale(1.1);
}

.play-pause-btn:active {
    transform: scale(0.95);
}

.play-pause-btn.playing {
    background: rgba(124, 55, 34, 0.9);
    border-color: var(--secondary-color);
}

.play-pause-btn.playing:hover {
    background: rgba(124, 55, 34, 1);
    box-shadow: 0 6px 20px rgba(124, 55, 34, 0.6);
}

.skin-info {
    text-align: left;
    animation: slideInLeft 0.8s ease-out;
}

.skin-info h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.skin-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.candidate-highlights {
    margin-top: 1rem;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.8rem;
}

.candidate-highlights li {
    color: var(--text-muted);
    line-height: 1.6;
}

.candidate-highlights a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.candidate-highlights a:hover {
    color: var(--accent-color);
}

/* ===========================
   Platform Section
   =========================== */
.platform {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, rgba(58, 38, 29, 0.55), rgba(214, 110, 70, 0.12));
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #d66e46, #7c3722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-muted);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.platform-card {
    position: relative;
    background: linear-gradient(135deg, rgba(58, 38, 29, 0.88), rgba(58, 38, 29, 0.58));
    border: 2px solid rgba(214, 110, 70, 0.3);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: cardSlideIn 0.6s ease-out backwards;
}

.platform-card:nth-child(1) { animation-delay: 0.1s; }
.platform-card:nth-child(2) { animation-delay: 0.2s; }
.platform-card:nth-child(3) { animation-delay: 0.3s; }
.platform-card:nth-child(4) { animation-delay: 0.4s; }
.platform-card:nth-child(5) { animation-delay: 0.5s; }
.platform-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platform-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(214, 110, 70, 0.2);
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.platform-card:hover .card-glow {
    opacity: 0.1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card-content {
    margin-top: 1rem;
}

.card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: slideInListItem 0.4s ease-out backwards;
}

.benefits-list li:nth-child(1) { animation-delay: 0s; }
.benefits-list li:nth-child(2) { animation-delay: 0.1s; }
.benefits-list li:nth-child(3) { animation-delay: 0.2s; }
.benefits-list li:nth-child(4) { animation-delay: 0.3s; }

@keyframes slideInListItem {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Color variations for cards */
.card-1 { border-color: rgba(214, 110, 70, 0.4); }
.card-2 { border-color: rgba(124, 55, 34, 0.4); }
.card-3 { border-color: rgba(255, 190, 11, 0.4); }
.card-4 { border-color: rgba(214, 110, 70, 0.4); }
.card-5 { border-color: rgba(124, 55, 34, 0.4); }
.card-6 { border-color: rgba(255, 190, 11, 0.4); }

/* ===========================
   About Section
   =========================== */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(214, 110, 70, 0.05), rgba(124, 55, 34, 0.05));
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #d66e46, #7c3722, #ffbe0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    padding: 2rem;
    background: rgba(214, 110, 70, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    animation: statPulse 2s ease-in-out infinite;
}

@keyframes statPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===========================
   Vote Section
   =========================== */
.vote-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(124, 55, 34, 0.1), rgba(214, 110, 70, 0.1));
    text-align: center;
}

.vote-container {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

.vote-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.vote-container > p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.vote-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.vote-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(214, 110, 70, 0.05);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vote-detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vote-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.vote-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
}

.vote-tagline {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: rgba(26, 15, 11, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-color);
    padding: 2rem;
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    margin: 0.5rem 0;
}

.fine-print {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .animated-cube {
        width: 200px;
        height: 200px;
    }

    .cube-face {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }

    .cube-face.front { transform: rotateY(0deg) translateZ(100px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(100px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(100px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(100px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(100px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }

    .skin-viewer-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skin-info {
        text-align: center;
    }

    .skin-info h3 {
        font-size: 1.8rem;
    }

    #minecraft-canvas {
        height: 400px;
        max-width: 100%;
    }

    .skin-header h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .vote-buttons {
        flex-direction: column;
    }

    .vote-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .platform-card {
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 2rem;
    }

    .platform-card h3 {
        font-size: 1.2rem;
    }
}

