/* Samsung Gift Pack Campaign - Complete CSS Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #212529;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6, #ffffff);
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
}

.header-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e3a8a;
}

.header-success {
    background: rgba(34, 197, 94, 0.1);
}

.header-success .header-title {
    color: #16a34a;
}

/* Main Layout */
.main {
    padding: 2rem 0;
}

/* Step System */
.step {
    display: none;
}

.step.active {
    display: block;
}

/* Hero Section */
.hero-section {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text {
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

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

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-gold {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.badge-green {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.badge-white {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Wheel Container */
.wheel-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.wheel-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Wheel Styles */
.wheel {
    position: relative;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    border: 8px solid #f59e0b;
    background: conic-gradient(
        #1e3a8a 0deg 45deg,
        #f59e0b 45deg 90deg,
        #1e3a8a 90deg 135deg,
        #f59e0b 135deg 180deg,
        #1e3a8a 180deg 225deg,
        #f59e0b 225deg 270deg,
        #1e3a8a 270deg 315deg,
        #f59e0b 315deg 360deg
    );
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
    transition: transform 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wheel.spinning {
    transform: rotate(1800deg);
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #f59e0b;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    background: white;
    border-radius: 50%;
    border: 4px solid #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1e3a8a;
    font-size: 0.875rem;
}

.wheel-segment {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transform-origin: center;
    z-index: 5;
}

/* Position segments to align with wheel colors - 45deg apart */
.wheel-segment-1 { transform: translate(-50%, -50%) rotate(0deg) translateY(-120px) rotate(0deg); }
.wheel-segment-2 { transform: translate(-50%, -50%) rotate(45deg) translateY(-120px) rotate(-45deg); }
.wheel-segment-3 { transform: translate(-50%, -50%) rotate(90deg) translateY(-120px) rotate(-90deg); }
.wheel-segment-4 { transform: translate(-50%, -50%) rotate(135deg) translateY(-120px) rotate(-135deg); }
.wheel-segment-5 { transform: translate(-50%, -50%) rotate(180deg) translateY(-120px) rotate(-180deg); }
.wheel-segment-6 { transform: translate(-50%, -50%) rotate(225deg) translateY(-120px) rotate(-225deg); }
.wheel-segment-7 { transform: translate(-50%, -50%) rotate(270deg) translateY(-120px) rotate(-270deg); }
.wheel-segment-8 { transform: translate(-50%, -50%) rotate(315deg) translateY(-120px) rotate(-315deg); }

.segment-image {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.winner-segment .segment-image {
    border-color: #fbbf24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
}

.segment-text {
    font-size: 8px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
    max-width: 60px;
    line-height: 1;
    margin-top: 2px;
}

/* Spin Button */
.spin-button {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
    font-weight: bold;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    animation: pulse-glow 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.spin-button:hover {
    transform: scale(1.05);
}

.spin-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    animation: none;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(245, 158, 11, 0.8);
        transform: scale(1.05);
    }
}

.spinning-message {
    text-align: center;
    animation: bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.spinning-message p {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a8a;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Stats Card */
.stats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.5rem;
}

.stats-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f59e0b;
}

.stat:nth-child(2) .stat-number {
    color: #16a34a;
}

.stat:nth-child(3) .stat-number {
    color: #1e3a8a;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Social Comments */
.social-comments {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.comments-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.comments-title .icon {
    color: #4267B2;
    margin-right: 0.5rem;
}

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

.comment {
    display: flex;
    gap: 0.75rem;
    animation: slide-up 0.5s ease-out;
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-bubble {
    background: #f3f4f6;
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.comment-name {
    font-weight: 600;
    color: #1f2937;
}

.comment-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.comment-text {
    font-size: 0.875rem;
    color: #1f2937;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.comment-like {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.comment-like:hover {
    color: #1877f2;
}

.comment-like-icon {
    color: #1877f2;
}

.comments-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.comments-footer p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Task Step */
.task-container {
    max-width: 28rem;
    margin: 0 auto;
}

.task-header {
    text-align: center;
    margin-bottom: 2rem;
}

.task-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.task-subtitle {
    color: #6b7280;
}

.task-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.task-card {
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.task-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.task-card.selected {
    border: 2px solid #f59e0b;
}

.task-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.task-icon {
    font-size: 1.5rem;
}

.task-name {
    font-size: 1.125rem;
    font-weight: 600;
}

.task-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.task-button {
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.task-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.task-security {
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    max-width: 28rem;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
    text-align: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3a8a;
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

.winner-animation {
    animation: bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-bottom: 1.5rem;
}

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

.winner-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.winner-subtitle {
    color: #6b7280;
}

.prize-details {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.prize-title {
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.prize-list {
    font-size: 0.875rem;
    color: #1f2937;
    list-style: none;
    text-align: left;
}

.prize-list li {
    margin-bottom: 0.25rem;
}

.modal-actions {
    margin-bottom: 1.5rem;
}

.claim-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.claim-button {
    width: 100%;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: white;
    font-weight: bold;
    padding: 0.75rem;
    font-size: 1.125rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    animation: pulse-glow 2s ease-in-out infinite;
}

.urgency-text {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Redirect Step */
.redirect-container {
    text-align: center;
    padding: 4rem 0;
}

.redirect-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 28rem;
    margin: 0 auto;
    animation: bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.redirect-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.redirect-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #1e3a8a;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Thank You Page Styles */
.thankyou-page {
    background: linear-gradient(135deg, #16a34a, #22c55e, #ffffff);
}

.thankyou-main {
    padding: 4rem 0;
}

.thankyou-container {
    max-width: 48rem;
    margin: 0 auto;
}

.thankyou-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.success-animation {
    animation: bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-bottom: 2rem;
}

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

.success-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.success-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
}

.prize-showcase {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.showcase-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #16a34a;
    margin-bottom: 1rem;
}

.showcase-grid {
    display: grid;
    gap: 1rem;
    text-align: left;
}

@media (min-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.showcase-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.item-icon {
    font-size: 1.5rem;
}

.item-name {
    font-weight: 600;
}

.value-highlight {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.value-text {
    font-size: 1.125rem;
}

.value-amount {
    font-weight: bold;
    color: #f59e0b;
}

.value-free {
    color: #6b7280;
}

.cta-section {
    margin-bottom: 1.5rem;
}

.cta-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    color: #6b7280;
    margin-bottom: 1rem;
}

.final-claim-button {
    width: 100%;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
    font-weight: bold;
    padding: 1rem;
    font-size: 1.25rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    animation: pulse-glow 2s ease-in-out infinite;
}

.timer-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.timer-text {
    font-size: 0.875rem;
    color: #dc2626;
    font-weight: 600;
}

.timer-subtext {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.trust-signals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.trust-label {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 4rem;
}

.footer .container {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.footer p:first-child {
    margin-bottom: 0.25rem;
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .wheel {
        width: 16rem;
        height: 16rem;
    }
    
    .wheel-container {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .success-title {
        font-size: 2rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-signals {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}