/* CSS Custom Properties for Dark Theme */
:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #f8fafc;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-light: rgba(0, 0, 0, 0.05);
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --success: #48bb78;
    --warning: #ed8936;
    --danger: #e53e3e;
    --info: #3182ce;
}

/* Dark Theme Colors */
[data-theme="dark"] {
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --bg-tertiary: #4a5568;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e0;
    --text-muted: #a0aec0;
    --text-light: #718096;
    --border-color: #4a5568;
    --border-light: #2d3748;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-light: rgba(0, 0, 0, 0.2);
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --success: #48bb78;
    --warning: #ed8936;
    --danger: #e53e3e;
    --info: #3182ce;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .header {
    background: rgba(26, 32, 44, 0.95);
    border-bottom: 1px solid rgba(74, 85, 104, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-left: 20px;
}


.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-primary);
}

.nav-link.active {
    background: var(--accent-primary);
    color: white;
}


.cart-count {
    background: var(--danger);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    margin-left: 5px;
}

/* Dark Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-primary);
}

/* Main Content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Minecraft', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.server-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.server-ip {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.ip-highlight {
    font-family: 'Minecraft', monospace;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.copy-ip-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.copy-ip-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    background: var(--bg-primary);
    padding: 4rem 0;
    transition: background 0.3s ease;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: var(--bg-secondary);
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Ranks Preview Section */
.ranks-preview {
    background: var(--bg-secondary);
    padding: 4rem 0;
    transition: background 0.3s ease;
}

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

.rank-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.rank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.rank-card.featured {
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
}

.rank-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rank-badge.vip {
    background: #f6ad55;
    color: white;
}

.rank-badge.premium {
    background: #667eea;
    color: white;
}

.rank-badge.elite {
    background: #9f7aea;
    color: white;
}

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

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.perks {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.perks li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.perks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 3rem 0 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

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

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

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

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

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.server-ip-footer {
    font-family: 'Minecraft', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    display: inline-block;
}

[data-theme="dark"] .server-ip-footer {
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-light);
}

/* Additional Styles for Shop, Support, and Cart Pages */
.shop-hero, .support-hero, .cart-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.shop-title, .support-title, .cart-title {
    font-family: 'Minecraft', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.shop-subtitle, .support-subtitle, .cart-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.ranks-section {
    background: var(--bg-primary);
    padding: 4rem 0;
    transition: background 0.3s ease;
}

.rank-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.rank-badge.legendary {
    background: #e53e3e;
    color: white;
}

.payment-info {
    background: var(--bg-secondary);
    padding: 4rem 0;
    transition: background 0.3s ease;
}

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

.payment-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--shadow);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.payment-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Support Page Styles */
.server-info-section {
    background: var(--bg-primary);
    padding: 4rem 0;
    transition: background 0.3s ease;
}

.server-info-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.server-info-card h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.server-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.server-ip-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.server-ip-display .label {
    font-weight: 600;
    color: var(--text-secondary);
}

.ip-value {
    font-family: 'Minecraft', monospace;
    background: var(--accent-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--success);
}

.status-indicator.online {
    background: var(--success);
    box-shadow: 0 0 10px rgba(72, 187, 120, 0.5);
}

.status-text {
    font-weight: 600;
    color: var(--success);
}

.contact-section {
    background: var(--bg-secondary);
    padding: 4rem 0;
    transition: background 0.3s ease;
}

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

.contact-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-family: 'Minecraft', monospace;
    border: 1px solid var(--border-color);
}

.faq-section {
    background: var(--bg-primary);
    padding: 4rem 0;
    transition: background 0.3s ease;
}

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

.faq-item {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.troubleshooting-section {
    background: var(--bg-secondary);
    padding: 4rem 0;
    transition: background 0.3s ease;
}

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

.troubleshooting-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px var(--shadow);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.troubleshooting-card ul {
    list-style: none;
    padding-left: 0;
}

.troubleshooting-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.troubleshooting-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Cart Page Styles */
.cart-section {
    background: var(--bg-primary);
    padding: 4rem 0;
    min-height: 60vh;
    transition: background 0.3s ease;
}

.cart-items {
    max-width: 800px;
    margin: 0 auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    background: var(--bg-secondary);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.cart-item-info {
    flex: 1;
}

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

.cart-item-price {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.cart-item-perks {
    margin-top: 1rem;
}

.cart-item-perks strong {
    color: var(--text-secondary);
}

.cart-item-perks ul {
    list-style: none;
    margin-top: 0.5rem;
    padding-left: 0;
}

.cart-item-perks ul li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1rem;
}

.cart-item-perks ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.quantity {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 20px;
    text-align: center;
}

.cart-item-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.remove-btn {
    background: var(--danger);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.remove-btn:hover {
    background: #c53030;
}

.cart-summary {
    max-width: 400px;
    margin: 2rem auto 0;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    border-top: 2px solid var(--border-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

.checkout-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

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

.empty-cart-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-cart h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.empty-cart p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Copy IP Button */
.copy-ip-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.copy-ip-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}



.stat-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


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

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}


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

.command-category {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.command-category h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.command-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.command-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.command-item:hover {
    background: var(--bg-tertiary);
    transform: translateX(5px);
}

.command-item code {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.command-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}


.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.tutorial-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
    border-left: 4px solid var(--border-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tutorial-step:hover {
    border-left-color: var(--accent-primary);
    transform: translateX(5px);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.step-content code {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}


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

.rule-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.rule-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 0 auto 1.5rem;
}

.rule-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.rule-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* AdSense Styling */
.ad-section {
    padding: 20px 0;
    margin: 40px 0;
    background: var(--bg-secondary);
    border-radius: 8px;
    text-align: center;
}

.ad-section .container {
    max-width: 728px;
    margin: 0 auto;
}

/* Privacy Policy Styling */
.privacy-content {
    padding: 60px 0;
}

.privacy-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.privacy-text h2 {
    color: var(--text-primary);
    margin: 40px 0 20px 0;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.privacy-text h2:first-child {
    margin-top: 0;
}

.privacy-text p {
    margin: 15px 0;
    color: var(--text-secondary);
}

.privacy-text ul {
    margin: 15px 0;
    padding-left: 30px;
}

.privacy-text li {
    margin: 8px 0;
    color: var(--text-secondary);
}

.privacy-text a {
    color: var(--accent);
    text-decoration: none;
}

.privacy-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title, .shop-title, .support-title, .cart-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .commands-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-step {
        flex-direction: column;
        text-align: center;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-img {
        height: 40px;
        max-width: 150px;
    }
    
    
    .nav {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    
    .btn {
        width: 200px;
    }
    
    .rank-card.featured {
        transform: none;
    }
    
    .cart-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cart-item-controls {
        align-items: stretch;
    }
    
    .server-ip-display {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 35px;
        max-width: 120px;
    }
    
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .ranks-grid {
        grid-template-columns: 1fr;
    }
}

/* Text color utilities */
.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

/* Checkout Page Styles */
.checkout-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.checkout-title {
    font-family: 'Minecraft', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.checkout-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.checkout-section {
    background: var(--bg-primary);
    padding: 4rem 0;
    min-height: 60vh;
    transition: background 0.3s ease;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-form-container {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.checkout-form h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error {
    border-color: var(--danger);
}

.payment-methods {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.payment-method:hover {
    border-color: var(--accent-primary);
}

.payment-method.active {
    border-color: var(--accent-primary);
    background: rgba(102, 126, 234, 0.05);
}

.payment-method-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.payment-method-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.payment-method-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.payment-form {
    margin-top: 1rem;
}

.card-element {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
}

.card-errors {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkout-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.checkout-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.checkout-actions .btn {
    flex: 1;
    min-width: 150px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-actions .btn i {
    font-size: 0.875rem;
}

.order-summary {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 2rem;
    height: fit-content;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.order-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.order-item-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item-summary:last-child {
    border-bottom: none;
}

.item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.item-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.item-price {
    font-weight: 600;
    color: var(--text-primary);
}

.order-totals {
    margin: 1.5rem 0;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.order-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.order-info h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.order-info ul {
    list-style: none;
    padding: 0;
}

.order-info ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.order-info ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Promo Code Styles */
.promo-code-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.promo-code-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.promo-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.promo-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.promo-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.promo-message {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
}

.promo-message.success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.promo-message.error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

/* Success Page Styles */
.success-hero {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.success-content {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-title {
    font-family: 'Minecraft', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.success-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.order-details-section {
    background: var(--bg-primary);
    padding: 4rem 0;
    transition: background 0.3s ease;
}

.order-details {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.order-details h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.order-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.order-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-info-item:last-child {
    border-bottom: none;
}

.order-info-item .label {
    font-weight: 500;
    color: var(--text-secondary);
}

.order-info-item .value {
    color: var(--text-primary);
    font-weight: 500;
}

.status-completed {
    color: var(--success);
    font-weight: 600;
}

.order-items {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.order-items h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.order-item-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item-detail:last-child {
    border-bottom: none;
}

.next-steps {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.next-steps h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-muted);
}

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

.modal-body {
    margin-top: 1rem;
}

.modal-body h3 {
    font-size: 1.125rem;
    margin: 1.5rem 0 0.5rem 0;
    color: var(--text-primary);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive Design for Checkout */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .order-info {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 200px;
    }
    
    .checkout-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .checkout-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Verification Code Styles */
.verification-code {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.verification-code .label {
    font-weight: 600;
    color: var(--accent-primary);
}

.verification-code .value {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.verification-code .btn {
    white-space: nowrap;
}

.btn-success {
    background: var(--success) !important;
    color: white !important;
}

@media (max-width: 768px) {
    .verification-code {
        flex-direction: column;
        text-align: center;
    }
    
    .ad-section {
        padding: 15px 0;
        margin: 30px 0;
    }
}
