/* Carrotcraft Dark Theme with Orange Accents */

/* ==================== GLOBAL STYLES ==================== */
body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%) !important;
    background-attachment: fixed !important;
    color: #e0e0e0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    min-height: 100vh;
}

.carrotcraft-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==================== HEADER ==================== */
.header {
    margin: 40px 0 30px 0;
    text-align: center;
}

.logo {
    height: auto;
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    height: 120px;
    max-width: 100%;
    filter: drop-shadow(0 4px 20px rgba(255, 140, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.server-info {
    background: rgba(45, 45, 45, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto 40px;
    max-width: 800px;
}

.server-ip-box {
    display: inline-block;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 140, 0, 0.4);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 10px;
    transition: all 0.3s ease;
}

.server-ip-box:hover {
    border-color: #ff8c00;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.server-ip-label {
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.server-ip-address {
    color: #ff8c00;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
}

/* ==================== NAVBAR ==================== */
.navbar-default {
    background: rgba(30, 30, 30, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-default .navbar-nav > li > a {
    color: #e0e0e0 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 15px 20px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #ff8c00 !important;
    background: rgba(255, 140, 0, 0.1) !important;
}

.navbar-default .navbar-nav > .active > a {
    background: rgba(255, 140, 0, 0.2) !important;
    color: #ff8c00 !important;
}

.navbar-default .navbar-toggle {
    border-color: #ff8c00;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #ff8c00;
}

.dropdown-menu {
    background: rgba(30, 30, 30, 0.98);
    border: 1px solid rgba(255, 140, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.dropdown-menu > li > a {
    color: #e0e0e0 !important;
    transition: all 0.2s ease;
}

.dropdown-menu > li > a:hover {
    background: rgba(255, 140, 0, 0.2) !important;
    color: #ff8c00 !important;
}

/* ==================== PANELS ==================== */
.panel {
    background: rgba(40, 40, 40, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.panel:hover {
    border-color: rgba(255, 140, 0, 0.4) !important;
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.15);
}

.panel-heading {
    background: rgba(30, 30, 30, 0.9) !important;
    border-bottom: 1px solid rgba(255, 140, 0, 0.3) !important;
    color: #ff8c00 !important;
    font-weight: 700;
    padding: 15px 20px;
    border-radius: 12px 12px 0 0 !important;
}

.panel-body {
    background: transparent !important;
    color: #e0e0e0;
    padding: 25px;
}

/* ==================== RANK CARDS ==================== */
.rank-card {
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ff4500);
}

.rank-card:hover {
    transform: translateY(-5px);
    border-color: #ff8c00;
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
}

.rank-card.vip::before {
    background: linear-gradient(90deg, #22c55e, #10b981);
}

.rank-card.vip-plus::before {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.rank-card.mvp::before {
    background: linear-gradient(90deg, #ff8c00, #ef4444);
}

.rank-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.rank-price {
    font-size: 36px;
    font-weight: 700;
    color: #ff8c00;
    margin-bottom: 10px;
}

.rank-duration {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.discount-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff8c00, #ef4444);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    z-index: 10;
}

.rank-perks {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.rank-perks li {
    padding: 8px 0;
    color: #d0d0d0;
    position: relative;
    padding-left: 30px;
}

.rank-perks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff8c00;
    font-weight: bold;
    font-size: 18px;
}

/* ==================== DURATION SELECTOR ==================== */
.duration-selector {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 12px;
    padding: 10px;
    margin: 30px auto;
    max-width: 500px;
    text-align: center;
}

.duration-btn {
    background: transparent;
    border: none;
    color: #999;
    padding: 12px 25px;
    margin: 5px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.duration-btn:hover {
    color: #fff;
    background: rgba(255, 140, 0, 0.1);
}

.duration-btn.active {
    background: #ff8c00 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

/* ==================== COMPARISON TABLE ==================== */
.comparison-table-wrapper {
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.comparison-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff8c00, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.table-hover > tbody > tr:hover {
    background: rgba(255, 140, 0, 0.1) !important;
}

.comparison-table {
    margin-bottom: 0;
}

.comparison-table thead th {
    background: rgba(30, 30, 30, 0.9);
    color: #e0e0e0;
    font-weight: 700;
    padding: 15px;
    border-bottom: 2px solid rgba(255, 140, 0, 0.5);
}

.comparison-table tbody td {
    color: #d0d0d0;
    padding: 15px;
    border-color: rgba(255, 140, 0, 0.1);
    vertical-align: middle;
}

.comparison-table .rank-header {
    font-weight: 700;
    font-size: 16px;
}

.comparison-table .rank-vip {
    color: #22c55e;
}

.comparison-table .rank-vip-plus {
    color: #3b82f6;
}

.comparison-table .rank-mvp {
    color: #ff8c00;
}

.check-icon {
    color: #22c55e;
    font-size: 20px;
}

.x-icon {
    color: #666;
    font-size: 18px;
}

.feature-detail {
    color: #ff8c00;
    font-weight: 600;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, #ff8c00, #ff6600) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6600, #ff4500) !important;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #10b981) !important;
    border: none !important;
}

.btn-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    border: none !important;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border: none !important;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border: none !important;
}

/* ==================== FORMS ==================== */
.form-control {
    background: rgba(30, 30, 30, 0.8) !important;
    border: 1px solid rgba(255, 140, 0, 0.3) !important;
    color: #e0e0e0 !important;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(40, 40, 40, 0.9) !important;
    border-color: #ff8c00 !important;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.2) !important;
    color: #fff !important;
}

.form-control::placeholder {
    color: #666;
}

/* ==================== MODALS ==================== */
.modal-content {
    background: rgba(30, 30, 30, 0.98) !important;
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.modal-header {
    background: rgba(20, 20, 20, 0.9);
    border-bottom: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 12px 12px 0 0;
}

.modal-title {
    color: #ff8c00;
    font-weight: 700;
}

.modal-body {
    color: #e0e0e0;
}

.modal-footer {
    background: rgba(20, 20, 20, 0.9);
    border-top: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 0 0 12px 12px;
}

.close {
    color: #ff8c00;
    opacity: 0.8;
}

.close:hover {
    color: #ff6600;
    opacity: 1;
}

/* ==================== TABLES ==================== */
.table {
    color: #e0e0e0;
}

.table > thead > tr > th {
    border-color: rgba(255, 140, 0, 0.3) !important;
    color: #ff8c00;
}

.table > tbody > tr > td {
    border-color: rgba(255, 140, 0, 0.1) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background: rgba(255, 140, 0, 0.05);
}

/* ==================== FOOTER ==================== */
.footer {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    color: #999;
}

.footer a {
    color: #ff8c00;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff6600;
    text-decoration: none;
}

/* ==================== ALERTS ==================== */
.alert {
    border-radius: 8px;
    border: 1px solid;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .rank-card {
        margin-bottom: 20px;
    }
    
    .rank-title {
        font-size: 24px;
    }
    
    .rank-price {
        font-size: 28px;
    }
    
    .comparison-title {
        font-size: 24px;
    }
    
    .server-ip-box {
        display: block;
        margin: 10px auto;
    }
}

/* ==================== MISC ==================== */
hr {
    border-color: rgba(255, 140, 0, 0.2);
}

a {
    color: #ff8c00;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff6600;
}

.text-center {
    text-align: center;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}